comparison src/os/unix/ngx_darwin.h @ 4223:1b779cb69dc8

malloc() debugging on MacOSX.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 24 Oct 2011 15:46:48 +0000
parents 345a014436d4
children d620f497c50f
comparison
equal deleted inserted replaced
4222:2dd6c7cb211a 4223:1b779cb69dc8
6 6
7 #ifndef _NGX_DARWIN_H_INCLUDED_ 7 #ifndef _NGX_DARWIN_H_INCLUDED_
8 #define _NGX_DARWIN_H_INCLUDED_ 8 #define _NGX_DARWIN_H_INCLUDED_
9 9
10 10
11 void ngx_debug_init(void);
11 ngx_chain_t *ngx_darwin_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, 12 ngx_chain_t *ngx_darwin_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in,
12 off_t limit); 13 off_t limit);
13 14
14 extern int ngx_darwin_kern_osreldate; 15 extern int ngx_darwin_kern_osreldate;
15 extern int ngx_darwin_hw_ncpu; 16 extern int ngx_darwin_hw_ncpu;
16 extern u_long ngx_darwin_net_inet_tcp_sendspace; 17 extern u_long ngx_darwin_net_inet_tcp_sendspace;
17 18
19 extern ngx_uint_t ngx_debug_malloc;
20
18 21
19 #endif /* _NGX_DARWIN_H_INCLUDED_ */ 22 #endif /* _NGX_DARWIN_H_INCLUDED_ */