1 #ifndef LUASOCKET_H 2 #define LUASOCKET_H 3 /*=========================================================================*\ 4 * LuaSocket toolkit 5 * Networking support for the Lua language 6 * Diego Nehab 7 * 9/11/1999 8 * 9 * RCS ID: $Id: luasocket.h,v 1.25 2007/06/11 23:44:54 diego Exp $ 10 \*=========================================================================*/ 11 #include "lua.h" 12 13 /*-------------------------------------------------------------------------*\ 14 * Current socket library version 15 \*-------------------------------------------------------------------------*/ 16 #define LUASOCKET_VERSION "LuaSocket 2.0.2" 17 #define LUASOCKET_COPYRIGHT "Copyright (C) 2004-2007 Diego Nehab" 18 #define LUASOCKET_AUTHORS "Diego Nehab" 19 20 /*-------------------------------------------------------------------------*\ 21 * This macro prefixes all exported API functions 22 \*-------------------------------------------------------------------------*/ 23 #ifndef LUASOCKET_API 24 #define LUASOCKET_API extern 25 #endif 26 27 /*-------------------------------------------------------------------------*\ 28 * Initializes the library. 29 \*-------------------------------------------------------------------------*/ 30 LUASOCKET_API int luaopen_socket_core(lua_State *L); 31 32 #endif /* LUASOCKET_H */ 33