summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-07-27 22:03:45 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-07-27 22:03:45 (GMT)
commitca5c7b0a957e651b12083a43e700a19d54fd1016 (patch)
treec781f240380368950df5335aab32978cd7121b0e /3rdParty/Lua/luasocket/src/mime.h
parent6f26d9aa86f0909af13b23b1a925b8d492e74154 (diff)
downloadswift-contrib-ca5c7b0a957e651b12083a43e700a19d54fd1016.zip
swift-contrib-ca5c7b0a957e651b12083a43e700a19d54fd1016.tar.bz2
First bash at integrating luasocket into Sluift
Diffstat (limited to '3rdParty/Lua/luasocket/src/mime.h')
-rw-r--r--3rdParty/Lua/luasocket/src/mime.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/3rdParty/Lua/luasocket/src/mime.h b/3rdParty/Lua/luasocket/src/mime.h
new file mode 100644
index 0000000..85ee2a3
--- /dev/null
+++ b/3rdParty/Lua/luasocket/src/mime.h
@@ -0,0 +1,31 @@
+#ifndef MIME_H
+#define MIME_H
+/*=========================================================================*\
+* Core MIME support
+* LuaSocket toolkit
+*
+* This module provides functions to implement transfer content encodings
+* and formatting conforming to RFC 2045. It is used by mime.lua, which
+* provide a higher level interface to this functionality.
+*
+* RCS ID: $Id: mime.h,v 1.15 2007/06/11 23:44:54 diego Exp $
+\*=========================================================================*/
+#include "lua.h"
+
+/*-------------------------------------------------------------------------*\
+* Current MIME library version
+\*-------------------------------------------------------------------------*/
+#define MIME_VERSION "MIME 1.0.2"
+#define MIME_COPYRIGHT "Copyright (C) 2004-2007 Diego Nehab"
+#define MIME_AUTHORS "Diego Nehab"
+
+/*-------------------------------------------------------------------------*\
+* This macro prefixes all exported API functions
+\*-------------------------------------------------------------------------*/
+#ifndef MIME_API
+#define MIME_API extern
+#endif
+
+MIME_API int luaopen_mime_core(lua_State *L);
+
+#endif /* MIME_H */