diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-06-26 18:47:49 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-06-26 18:47:49 +0000 |
commit | 71f6bb60bf2b7457091c7106190f92ab7e51f7c6 (patch) | |
tree | 8ad3668667bd3da3c34f7ff7ae0a9a7a4daa4679 /src/luasocket.h | |
parent | f330540576031528f0daac231c61d4dd06e8ba1e (diff) | |
download | luasocket-71f6bb60bf2b7457091c7106190f92ab7e51f7c6.tar.gz luasocket-71f6bb60bf2b7457091c7106190f92ab7e51f7c6.tar.bz2 luasocket-71f6bb60bf2b7457091c7106190f92ab7e51f7c6.zip |
Finished implementation of LuaSocket 2.0 alpha on Linux.
Some testing still needed.
Diffstat (limited to 'src/luasocket.h')
-rw-r--r-- | src/luasocket.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/luasocket.h b/src/luasocket.h index 6c25af2..7756605 100644 --- a/src/luasocket.h +++ b/src/luasocket.h | |||
@@ -1,17 +1,19 @@ | |||
1 | #ifndef LUASOCKET_H | ||
2 | #define LUASOCKET_H | ||
1 | /*=========================================================================*\ | 3 | /*=========================================================================*\ |
4 | * LuaSocket toolkit | ||
2 | * Networking support for the Lua language | 5 | * Networking support for the Lua language |
3 | * Diego Nehab | 6 | * Diego Nehab |
4 | * 9/11/1999 | 7 | * 9/11/1999 |
5 | * | 8 | * |
6 | * RCS ID: $Id$ | 9 | * RCS ID: $Id$ |
7 | \*=========================================================================*/ | 10 | \*=========================================================================*/ |
8 | #ifndef LUASOCKET_H | 11 | #include <lua.h> |
9 | #define LUASOCKET_H | ||
10 | 12 | ||
11 | /*-------------------------------------------------------------------------*\ | 13 | /*-------------------------------------------------------------------------*\ |
12 | * Current luasocket version | 14 | * Current luasocket version |
13 | \*-------------------------------------------------------------------------*/ | 15 | \*-------------------------------------------------------------------------*/ |
14 | #define LUASOCKET_VERSION "LuaSocket 1.5 (alpha)" | 16 | #define LUASOCKET_VERSION "LuaSocket 2.0 (alpha)" |
15 | 17 | ||
16 | /*-------------------------------------------------------------------------*\ | 18 | /*-------------------------------------------------------------------------*\ |
17 | * Library's namespace | 19 | * Library's namespace |
@@ -28,6 +30,6 @@ | |||
28 | /*-------------------------------------------------------------------------*\ | 30 | /*-------------------------------------------------------------------------*\ |
29 | * Initializes the library. | 31 | * Initializes the library. |
30 | \*-------------------------------------------------------------------------*/ | 32 | \*-------------------------------------------------------------------------*/ |
31 | LUASOCKET_API int luaopen_socketlib(lua_State *L); | 33 | LUASOCKET_API int luaopen_socket(lua_State *L); |
32 | 34 | ||
33 | #endif /* LUASOCKET_H */ | 35 | #endif /* LUASOCKET_H */ |