]> jfr.im git - irc/quakenet/newserv.git/blobdiff - lua/luasocket.h
fix makefile of jupe module
[irc/quakenet/newserv.git] / lua / luasocket.h
index bd17417a8a4f8eb7a5526926e9c56fb128b73441..ed402ce2fb509c98df4c9c43e7f252fcbe7a853f 100644 (file)
@@ -12,12 +12,15 @@ typedef struct lua_socket {
   long tag;
   unsigned long identifier;
   struct lua_list *l;
+  struct lua_socket *parent;
+
   struct lua_socket *next;
 } lua_socket;
 
 #define SOCKET_CONNECTING 0x00
 #define SOCKET_CONNECTED  0x01
 #define SOCKET_CLOSED     0x02
+#define SOCKET_LISTENING  0x03
 
 #endif