comparison src/os/win32/ngx_os.h @ 2738:ae81441e23f4

implement "-s signal" option for Unix
author Igor Sysoev <igor@sysoev.ru>
date Tue, 21 Apr 2009 20:25:49 +0000
parents d43d73277c5c
children d8316f307b6a
comparison
equal deleted inserted replaced
2737:d52cf82d0d77 2738:ae81441e23f4
8 #define _NGX_OS_H_INCLUDED_ 8 #define _NGX_OS_H_INCLUDED_
9 9
10 10
11 #include <ngx_config.h> 11 #include <ngx_config.h>
12 #include <ngx_core.h> 12 #include <ngx_core.h>
13
13 14
14 #define NGX_IO_SENDFILE 1 15 #define NGX_IO_SENDFILE 1
15 16
16 17
17 typedef ssize_t (*ngx_recv_pt)(ngx_connection_t *c, u_char *buf, size_t size); 18 typedef ssize_t (*ngx_recv_pt)(ngx_connection_t *c, u_char *buf, size_t size);
30 } ngx_os_io_t; 31 } ngx_os_io_t;
31 32
32 33
33 ngx_int_t ngx_os_init(ngx_log_t *log); 34 ngx_int_t ngx_os_init(ngx_log_t *log);
34 void ngx_os_status(ngx_log_t *log); 35 void ngx_os_status(ngx_log_t *log);
36 ngx_int_t ngx_os_signal_process(ngx_cycle_t *cycle, char *sig, ngx_int_t pid);
35 37
36 ssize_t ngx_wsarecv(ngx_connection_t *c, u_char *buf, size_t size); 38 ssize_t ngx_wsarecv(ngx_connection_t *c, u_char *buf, size_t size);
37 ssize_t ngx_overlapped_wsarecv(ngx_connection_t *c, u_char *buf, size_t size); 39 ssize_t ngx_overlapped_wsarecv(ngx_connection_t *c, u_char *buf, size_t size);
38 ssize_t ngx_udp_wsarecv(ngx_connection_t *c, u_char *buf, size_t size); 40 ssize_t ngx_udp_wsarecv(ngx_connection_t *c, u_char *buf, size_t size);
39 ssize_t ngx_udp_overlapped_wsarecv(ngx_connection_t *c, u_char *buf, 41 ssize_t ngx_udp_overlapped_wsarecv(ngx_connection_t *c, u_char *buf,