diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-07-05 14:05:21 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-07-05 14:05:21 +0300 |
commit | 4fe5d22dcc5d6e42c5faa6fe06dd076cde799324 (patch) | |
tree | 91f346ac5380888617f4ed32fa0933445c4bd65a /src/nxt_listen_socket.h | |
parent | d28d502aa5c6982552ce6626088a77f3295465f6 (diff) | |
download | unit-4fe5d22dcc5d6e42c5faa6fe06dd076cde799324.tar.gz unit-4fe5d22dcc5d6e42c5faa6fe06dd076cde799324.tar.bz2 |
Router: processing JSON configuration.
Diffstat (limited to 'src/nxt_listen_socket.h')
-rw-r--r-- | src/nxt_listen_socket.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/nxt_listen_socket.h b/src/nxt_listen_socket.h index 907c3a6e..c58850ba 100644 --- a/src/nxt_listen_socket.h +++ b/src/nxt_listen_socket.h @@ -30,8 +30,6 @@ typedef struct { uint8_t socklen; uint8_t address_length; - - uint32_t count; } nxt_listen_socket_t; @@ -51,6 +49,11 @@ typedef struct { #endif +NXT_EXPORT nxt_socket_t nxt_listen_socket_create0(nxt_task_t *task, + nxt_sockaddr_t *sa, nxt_uint_t flags); +NXT_EXPORT nxt_int_t nxt_listen_socket(nxt_task_t *task, nxt_socket_t s, + int backlog); + NXT_EXPORT nxt_int_t nxt_listen_socket_create(nxt_task_t *task, nxt_listen_socket_t *ls, nxt_bool_t bind_test); NXT_EXPORT nxt_int_t nxt_listen_socket_update(nxt_task_t *task, |