diff options
Diffstat (limited to 'libs/nixio/src/nixio.h')
-rw-r--r-- | libs/nixio/src/nixio.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/nixio/src/nixio.h b/libs/nixio/src/nixio.h index 5a491c52bb..1b35e2e5e0 100644 --- a/libs/nixio/src/nixio.h +++ b/libs/nixio/src/nixio.h @@ -3,8 +3,6 @@ #define NIXIO_META "nixio.socket" #define NIXIO_FILE_META "nixio.file" -#define NIXIO_TLS_CTX_META "nixio.tls.ctx" -#define NIXIO_TLS_SOCK_META "nixio.tls.sock" #define NIXIO_BUFFERSIZE 8096 #define _FILE_OFFSET_BITS 64 @@ -19,14 +17,12 @@ #include <lualib.h> #include <lauxlib.h> -struct nixio_socket { +typedef struct nixio_socket { int fd; int domain; int type; int protocol; -}; - -typedef struct nixio_socket nixio_sock; +} nixio_sock; int nixio__perror(lua_State *L); int nixio__pstatus(lua_State *L, int condition); |