beta-0.89.2
[luatex.git] / source / texk / web2c / luatexdir / luasocket / src / mime.h
blob150e7adf91248ed20df10bf467305dbc8ecb3d29
1 #ifndef MIME_H
2 #define MIME_H
3 /*=========================================================================*\
4 * Core MIME support
5 * LuaSocket toolkit
7 * This module provides functions to implement transfer content encodings
8 * and formatting conforming to RFC 2045. It is used by mime.lua, which
9 * provide a higher level interface to this functionality.
10 \*=========================================================================*/
11 #include "lua.h"
13 /*-------------------------------------------------------------------------*\
14 * Current MIME library version
15 \*-------------------------------------------------------------------------*/
16 #define MIME_VERSION "MIME 1.0.3-rc1"
17 #define MIME_COPYRIGHT "Copyright (C) 2004-2012 Diego Nehab"
18 #define MIME_AUTHORS "Diego Nehab"
20 /*-------------------------------------------------------------------------*\
21 * This macro prefixes all exported API functions
22 \*-------------------------------------------------------------------------*/
23 #ifndef MIME_API
24 #define MIME_API extern
25 #endif
27 MIME_API int luaopen_mime_core(lua_State *L);
29 #endif /* MIME_H */