summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/src/nixio.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-08-12 10:26:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-08-12 10:26:33 +0000
commit2b33717dc402bdd8f1ab9e3f89ecc09d52b2df60 (patch)
treece03d146d2d558f6049ceb36060363bef375f7ef /libs/nixio/src/nixio.c
parent4e78f77d631309608d9e31733c67650804f068de (diff)
libs/nixio: implement getproto(), getprotobyname() and getprotobynumber()
Diffstat (limited to 'libs/nixio/src/nixio.c')
-rw-r--r--libs/nixio/src/nixio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/nixio/src/nixio.c b/libs/nixio/src/nixio.c
index 70a77b4c9b..ae81c6f964 100644
--- a/libs/nixio/src/nixio.c
+++ b/libs/nixio/src/nixio.c
@@ -22,7 +22,7 @@
#include <errno.h>
#include <signal.h>
-#define VERSION 0.3
+#define VERSION 0.4
/* pushes nil, error number and errstring on the stack */
@@ -133,6 +133,7 @@ NIXIO_API int luaopen_nixio(lua_State *L) {
nixio_open_sockopt(L);
nixio_open_bind(L);
nixio_open_address(L);
+ nixio_open_protoent(L);
nixio_open_poll(L);
nixio_open_io(L);
nixio_open_splice(L);