comparison src/core/ngx_os_init.h @ 92:19cc647ecd91

nginx-0.0.1-2003-05-20-19:37:55 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 20 May 2003 15:37:55 +0000
parents src/os/unix/ngx_os_init.h@637625a2acdb
children 738fe44c70d5
comparison
equal deleted inserted replaced
91:637625a2acdb 92:19cc647ecd91
1 #ifndef _NGX_OS_INIT_H_INCLUDED_
2 #define _NGX_OS_INIT_H_INCLUDED_
3
4
5 #include <ngx_config.h>
6 #include <ngx_core.h>
7 #if 0
8 #include <ngx_connection.h>
9 #endif
10
11
12 typedef struct {
13 ssize_t (*recv)(ngx_connection_t *c, char *buf, size_t size);
14 void *dummy_recv_chain;
15 void *dummy_send;
16 ngx_chain_t *(*send_chain)(ngx_connection_t *c, ngx_chain_t *in);
17 } ngx_os_io_t;
18
19
20 int ngx_os_init(ngx_log_t *log);
21
22 extern ngx_os_io_t ngx_os_io;
23 extern int ngx_max_sockets;
24
25
26 #endif /* _NGX_OS_INIT_H_INCLUDED_ */