Mercurial > hg > nginx
comparison src/core/ngx_server.h @ 3:34a521b1a148
nginx-0.0.1-2002-08-20-18:48:28 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 20 Aug 2002 14:48:28 +0000 |
parents | ffffe1499bce |
children |
comparison
equal
deleted
inserted
replaced
2:ffffe1499bce | 3:34a521b1a148 |
---|---|
12 int (*handler)(void *data); | 12 int (*handler)(void *data); |
13 int buff_size; | 13 int buff_size; |
14 } ngx_server_t; | 14 } ngx_server_t; |
15 | 15 |
16 | 16 |
17 typedef struct { | |
18 ngx_socket_t fd; | |
19 | |
20 ngx_log_t *log; | |
21 void *server; | |
22 | |
23 int family; | |
24 int type; | |
25 int protocol; | |
26 | |
27 void *addr; | |
28 size_t addr_len; | |
29 char *addr_text; | |
30 | |
31 int backlog; | |
32 | |
33 unsigned non_blocking:1; | |
34 unsigned shared:1; /* shared between threads or processes */ | |
35 #if (HAVE_DEFERRED_ACCEPT) | |
36 unsigned deferred_accept:1; | |
37 #endif | |
38 } ngx_listen_t; | |
39 | |
40 | |
41 #endif /* _NGX_SERVER_H_INCLUDED_ */ | 17 #endif /* _NGX_SERVER_H_INCLUDED_ */ |