Mercurial > hg > nginx-quic
view src/core/ngx_listen.h @ 34:95f1c2a938f3
nginx-0.0.1-2002-12-20-09:54:55 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 20 Dec 2002 06:54:55 +0000 |
parents | 77c7629a2627 |
children | 0e81ac0bb3e2 |
line wrap: on
line source
#ifndef _NGX_LISTEN_H_INCLUDED_ #define _NGX_LISTEN_H_INCLUDED_ #include <ngx_config.h> #include <ngx_log.h> #include <ngx_types.h> #include <ngx_socket.h> #include <ngx_connection.h> typedef struct { ngx_socket_t fd; struct sockaddr *sockaddr; socklen_t socklen; size_t addr; ngx_str_t addr_text; int family; int type; int protocol; int flags; ngx_log_t *log; void *server; int (*handler)(ngx_connection_t *c); int backlog; time_t post_accept_timeout; unsigned done:1; unsigned inherited:1; unsigned nonblocking:1; #if 0 unsigned overlapped:1; #endif unsigned shared:1; /* shared between threads or processes */ #if (HAVE_DEFERRED_ACCEPT) unsigned deferred_accept:1; #endif } ngx_listen_t; #endif /* _NGX_LISTEN_H_INCLUDED_ */