2000-12-29 23:15:09 +01:00
|
|
|
/*=========================================================================*\
|
2002-07-08 22:44:12 +02:00
|
|
|
* Networking support for the Lua language
|
2000-12-29 23:15:09 +01:00
|
|
|
* Diego Nehab
|
|
|
|
* 9/11/1999
|
2002-07-08 22:44:12 +02:00
|
|
|
*
|
|
|
|
* RCS ID: $Id$
|
2000-12-29 23:15:09 +01:00
|
|
|
\*=========================================================================*/
|
|
|
|
#ifndef _LUASOCKET_H_
|
|
|
|
#define _LUASOCKET_H_
|
|
|
|
|
2001-03-06 20:01:44 +01:00
|
|
|
/*-------------------------------------------------------------------------*\
|
2002-07-08 22:44:12 +02:00
|
|
|
* Current luasocket version
|
2001-03-06 20:01:44 +01:00
|
|
|
\*-------------------------------------------------------------------------*/
|
2002-07-08 22:44:12 +02:00
|
|
|
#define LUASOCKET_VERSION "LuaSocket 1.5"
|
2001-03-06 20:01:44 +01:00
|
|
|
|
2001-06-19 21:31:22 +02:00
|
|
|
/*-------------------------------------------------------------------------*\
|
|
|
|
* This macro prefixes all exported API functions
|
|
|
|
\*-------------------------------------------------------------------------*/
|
|
|
|
#ifndef LUASOCKET_API
|
|
|
|
#define LUASOCKET_API extern
|
|
|
|
#endif
|
|
|
|
|
2001-03-06 20:01:44 +01:00
|
|
|
/*-------------------------------------------------------------------------*\
|
2002-07-08 22:44:12 +02:00
|
|
|
* Initializes the library.
|
2001-03-06 20:01:44 +01:00
|
|
|
\*-------------------------------------------------------------------------*/
|
2001-09-13 00:08:43 +02:00
|
|
|
LUASOCKET_API int lua_socketlibopen(lua_State *L);
|
2000-12-29 23:15:09 +01:00
|
|
|
|
|
|
|
#endif /* _LUASOCKET_H_ */
|