Mercurial > hg > nginx
comparison src/os/unix/ngx_freebsd.h @ 4223:1b779cb69dc8
malloc() debugging on MacOSX.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 24 Oct 2011 15:46:48 +0000 |
parents | cc13ff6d5c07 |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
4222:2dd6c7cb211a | 4223:1b779cb69dc8 |
---|---|
6 | 6 |
7 #ifndef _NGX_FREEBSD_H_INCLUDED_ | 7 #ifndef _NGX_FREEBSD_H_INCLUDED_ |
8 #define _NGX_FREEBSD_H_INCLUDED_ | 8 #define _NGX_FREEBSD_H_INCLUDED_ |
9 | 9 |
10 | 10 |
11 void ngx_debug_init(void); | |
11 ngx_chain_t *ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, | 12 ngx_chain_t *ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, |
12 off_t limit); | 13 off_t limit); |
13 | 14 |
14 extern int ngx_freebsd_kern_osreldate; | 15 extern int ngx_freebsd_kern_osreldate; |
15 extern int ngx_freebsd_hw_ncpu; | 16 extern int ngx_freebsd_hw_ncpu; |
16 extern u_long ngx_freebsd_net_inet_tcp_sendspace; | 17 extern u_long ngx_freebsd_net_inet_tcp_sendspace; |
17 | 18 |
18 extern ngx_uint_t ngx_freebsd_sendfile_nbytes_bug; | 19 extern ngx_uint_t ngx_freebsd_sendfile_nbytes_bug; |
19 extern ngx_uint_t ngx_freebsd_use_tcp_nopush; | 20 extern ngx_uint_t ngx_freebsd_use_tcp_nopush; |
20 extern ngx_uint_t ngx_freebsd_debug_malloc; | 21 extern ngx_uint_t ngx_debug_malloc; |
21 | 22 |
22 | 23 |
23 #endif /* _NGX_FREEBSD_H_INCLUDED_ */ | 24 #endif /* _NGX_FREEBSD_H_INCLUDED_ */ |