luasocket/src/mime.h

30 lines
1.1 KiB
C
Raw Normal View History

#ifndef MIME_H
#define MIME_H
/*=========================================================================*\
2005-09-29 08:11:42 +02:00
* 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.
\*=========================================================================*/
2005-09-29 08:11:42 +02:00
#include "lua.h"
/*-------------------------------------------------------------------------*\
* Current MIME library version
\*-------------------------------------------------------------------------*/
#define MIME_VERSION "MIME 1.0.3-rc1"
#define MIME_COPYRIGHT "Copyright (C) 2004-2012 Diego Nehab"
2005-09-29 08:11:42 +02:00
#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);
2004-05-28 08:16:43 +02:00
#endif /* MIME_H */