Added if_* POSIX API wrappers under socket.iface.

This commit is contained in:
Markus Stenberg 2012-12-05 09:54:34 +02:00
parent a402222464
commit 2107b9a650
5 changed files with 180 additions and 10 deletions

View file

@ -34,6 +34,7 @@
#include "tcp.h"
#include "udp.h"
#include "select.h"
#include "if.h"
/*-------------------------------------------------------------------------*\
* Internal function prototypes
@ -54,6 +55,7 @@ static const luaL_Reg mod[] = {
{"tcp", tcp_open},
{"udp", udp_open},
{"select", select_open},
{"iface", if_open},
{NULL, NULL}
};