diff options
author | moteus <mimir@newmail.ru> | 2013-05-29 14:33:27 +0400 |
---|---|---|
committer | moteus <mimir@newmail.ru> | 2013-05-29 14:33:27 +0400 |
commit | 1de617e3550366076737e804f1e28891605db89c (patch) | |
tree | 2a5db457e38cdf3de1f29df4d0217999c5cd306d /src/options.h | |
parent | b84a5f3d08b1dc9d1003506bbca53e11264e8693 (diff) | |
download | luasocket-1de617e3550366076737e804f1e28891605db89c.tar.gz luasocket-1de617e3550366076737e804f1e28891605db89c.tar.bz2 luasocket-1de617e3550366076737e804f1e28891605db89c.zip |
Add. Allow get `error` option to socket.
Diffstat (limited to 'src/options.h')
-rw-r--r-- | src/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.h b/src/options.h index 55447f7..1cabd7d 100644 --- a/src/options.h +++ b/src/options.h | |||
@@ -42,6 +42,7 @@ int opt_get_linger(lua_State *L, p_socket ps); | |||
42 | int opt_get_reuseaddr(lua_State *L, p_socket ps); | 42 | int opt_get_reuseaddr(lua_State *L, p_socket ps); |
43 | int opt_get_ip_multicast_loop(lua_State *L, p_socket ps); | 43 | int opt_get_ip_multicast_loop(lua_State *L, p_socket ps); |
44 | int opt_get_ip_multicast_if(lua_State *L, p_socket ps); | 44 | int opt_get_ip_multicast_if(lua_State *L, p_socket ps); |
45 | int opt_get_error(lua_State *L, p_socket ps); | ||
45 | 46 | ||
46 | /* invokes the appropriate option handler */ | 47 | /* invokes the appropriate option handler */ |
47 | int opt_meth_setoption(lua_State *L, p_opt opt, p_socket ps); | 48 | int opt_meth_setoption(lua_State *L, p_opt opt, p_socket ps); |