Debian Codegraph @

texk/web2c/luatexdir/luasocket/src/luasocket.h

raw
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 #include "lua.h"
10
11 /*-------------------------------------------------------------------------*\
12 * Current socket library version
13 \*-------------------------------------------------------------------------*/
14 #define LUASOCKET_VERSION "LuaSocket 3.0-rc1"
15 #define LUASOCKET_COPYRIGHT "Copyright (C) 1999-2013 Diego Nehab"
16
17 /*-------------------------------------------------------------------------*\
18 * This macro prefixes all exported API functions
19 \*-------------------------------------------------------------------------*/
20 #ifndef LUASOCKET_API
21 #define LUASOCKET_API extern
22 #endif
23
24 /*-------------------------------------------------------------------------*\
25 * Initializes the library.
26 \*-------------------------------------------------------------------------*/
27 LUASOCKET_API int luaopen_socket_core(lua_State *L);
28
29 #endif /* LUASOCKET_H */