nixio:
[project/luci.git] / libs / nixio / src / nixio.h
index 8caa5b9..0c43cfe 100644 (file)
@@ -33,6 +33,7 @@ typedef struct nixio_address {
        int family;
        char host[128];
        int port;
+       int prefix;
 } nixio_addr;
 
 int nixio__perror(lua_State *L);
@@ -47,7 +48,6 @@ int nixio__pstatus(lua_State *L, int condition);
 #include <arpa/inet.h>
 #include <netinet/in.h>
 #include <netinet/tcp.h>
-#include <net/if.h>
 #include <sys/un.h>
 #include <netdb.h>
 #include <poll.h>
@@ -90,6 +90,8 @@ int nixio__mode_write(int mode, char *modestr);
 
 int nixio__push_stat(lua_State *L, nixio_stat_t *buf);
 
+const char nixio__bin2hex[16];
+
 /* Module functions */
 void nixio_open_file(lua_State *L);
 void nixio_open_socket(lua_State *L);