luasocket/src/mime.h
2004-06-21 06:07:58 +00:00

29 lines
846 B
C

#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
#ifndef MIME_LIBNAME
#define MIME_LIBNAME "mime"
#endif
MIME_API int luaopen_mime(lua_State *L);
#endif /* MIME_H */