diff options
Diffstat (limited to 'connection.h')
-rw-r--r-- | connection.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/connection.h b/connection.h index 3a7b32a..88cd6b8 100644 --- a/connection.h +++ b/connection.h @@ -2,16 +2,12 @@ #include <lua.h> -#include "request.h" - struct connection { int fd; - int lua_ref; + int ref; lua_State * L; - struct request * request; }; struct connection * connection_new(lua_State *, const int); -void connection_clear(struct connection *); void connection_free(lua_State *, struct connection *); |