aboutsummaryrefslogtreecommitdiff
path: root/src/mime.h
blob: be16920470779c34728c01e7b94e32a435d8d047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef MIME_H 
#define MIME_H 
/*=========================================================================*\
* MIME support functions
* 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$
\*=========================================================================*/
#include <lua.h>

/*-------------------------------------------------------------------------*\
* This macro prefixes all exported API functions
\*-------------------------------------------------------------------------*/
#ifndef MIME_API
#define MIME_API extern
#endif

#define MIME_LIBNAME "mime"
MIME_API int luaopen_mime(lua_State *L);

#endif /* MIME_H */