mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
27 lines
689 B
C
27 lines
689 B
C
#ifndef _NGX_FREEBSD_INIT_H_INCLUDED_
|
|
#define _NGX_FREEBSD_INIT_H_INCLUDED_
|
|
|
|
|
|
#include <ngx_config.h>
|
|
#include <ngx_core.h>
|
|
|
|
|
|
/* STUB */
|
|
int ngx_posix_init(ngx_log_t *log);
|
|
ssize_t ngx_unix_recv(ngx_connection_t *c, char *buf, size_t size);
|
|
ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *entry);
|
|
/* */
|
|
|
|
ngx_chain_t *ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in);
|
|
|
|
|
|
extern int ngx_freebsd_kern_osreldate;
|
|
extern int ngx_freebsd_hw_ncpu;
|
|
extern int ngx_freebsd_net_inet_tcp_sendspace;
|
|
extern int ngx_freebsd_sendfile_nbytes_bug;
|
|
extern int ngx_freebsd_kern_ipc_zero_copy_send;
|
|
extern int ngx_freebsd_use_tcp_nopush;
|
|
|
|
|
|
#endif /* _NGX_FREEBSD_INIT_H_INCLUDED_ */
|