diff options
author | Steven Barth <steven@midlink.org> | 2009-02-23 17:21:14 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-02-23 17:21:14 +0000 |
commit | 6b104b9a458db6c2a1624085121814e7c8cbb014 (patch) | |
tree | 08b22ae96d2981700f0b03ad5487470bb40cf6b8 /libs/nixio/src/nixio.h | |
parent | 65b50a8f8a95d0d091a3f16ba5574842840c7289 (diff) |
nixio:
Reogranize TLS headers
Fix TLS receive buffer workaround for axTLS
Add support for flock()
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); |