2004-01-19 06:41:30 +01:00
|
|
|
#ifndef MIME_H
|
|
|
|
#define MIME_H
|
|
|
|
/*=========================================================================*\
|
2005-09-29 08:11:42 +02:00
|
|
|
* Core MIME support
|
2004-01-19 06:41:30 +01:00
|
|
|
* 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
|
|
|
|
\*-------------------------------------------------------------------------*/
|
2013-06-11 13:10:03 +02:00
|
|
|
#define MIME_VERSION "MIME 1.0.3"
|
|
|
|
#define MIME_COPYRIGHT "Copyright (C) 2004-2013 Diego Nehab"
|
2005-09-29 08:11:42 +02:00
|
|
|
#define MIME_AUTHORS "Diego Nehab"
|
2004-01-19 06:41:30 +01:00
|
|
|
|
2004-05-31 01:23:05 +02:00
|
|
|
/*-------------------------------------------------------------------------*\
|
|
|
|
* This macro prefixes all exported API functions
|
|
|
|
\*-------------------------------------------------------------------------*/
|
|
|
|
#ifndef MIME_API
|
|
|
|
#define MIME_API extern
|
|
|
|
#endif
|
|
|
|
|
2005-08-23 07:53:14 +02:00
|
|
|
MIME_API int luaopen_mime_core(lua_State *L);
|
2004-05-28 08:16:43 +02:00
|
|
|
|
2004-01-19 06:41:30 +01:00
|
|
|
#endif /* MIME_H */
|