diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 01:02:07 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 01:02:07 +0000 |
commit | d46f7a09a768b146f2f3cdc9a6a50357832bd1c7 (patch) | |
tree | d4f7ca1e677d06446245691d5ece6dab51915f16 /src/options.c | |
parent | 843a431ef98fd541d98fd3898463985d9bfcde28 (diff) | |
download | luasocket-d46f7a09a768b146f2f3cdc9a6a50357832bd1c7.tar.gz luasocket-d46f7a09a768b146f2f3cdc9a6a50357832bd1c7.tar.bz2 luasocket-d46f7a09a768b146f2f3cdc9a6a50357832bd1c7.zip |
Fixed smtp.lua loading.
Adjusted tftp module.
Added some comments.
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c index 972844f..c9e69f0 100644 --- a/src/options.c +++ b/src/options.c | |||
@@ -1,3 +1,9 @@ | |||
1 | /*=========================================================================*\ | ||
2 | * Common option interface | ||
3 | * LuaSocket toolkit | ||
4 | * | ||
5 | * RCS ID: $Id$ | ||
6 | \*=========================================================================*/ | ||
1 | #include <lauxlib.h> | 7 | #include <lauxlib.h> |
2 | #include <string.h> | 8 | #include <string.h> |
3 | 9 | ||
@@ -5,6 +11,10 @@ | |||
5 | #include "options.h" | 11 | #include "options.h" |
6 | #include "inet.h" | 12 | #include "inet.h" |
7 | 13 | ||
14 | |||
15 | /*=========================================================================*\ | ||
16 | * Internal functions prototypes | ||
17 | \*=========================================================================*/ | ||
8 | static int opt_setmembership(lua_State *L, p_sock ps, int level, int name); | 18 | static int opt_setmembership(lua_State *L, p_sock ps, int level, int name); |
9 | static int opt_setboolean(lua_State *L, p_sock ps, int level, int name); | 19 | static int opt_setboolean(lua_State *L, p_sock ps, int level, int name); |
10 | static int opt_set(lua_State *L, p_sock ps, int level, int name, | 20 | static int opt_set(lua_State *L, p_sock ps, int level, int name, |