diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-12-03 16:46:46 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-03 16:46:46 +0000 |
commit | e67d46189c911ca7dbeef8c7b7c99c4751683948 (patch) | |
tree | a3084634a8316873f2cb05a2cd1b0b69aca73a1b /src/os/unix/ngx_os.h | |
parent | 7b35de92a94683ee20ee5bd7ecd7a0e3a9c91521 (diff) | |
download | nginx-e67d46189c911ca7dbeef8c7b7c99c4751683948.tar.gz nginx-e67d46189c911ca7dbeef8c7b7c99c4751683948.zip |
ngx_udp_recv()
Diffstat (limited to 'src/os/unix/ngx_os.h')
-rw-r--r-- | src/os/unix/ngx_os.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_os.h b/src/os/unix/ngx_os.h index 015d64012..54b1370bd 100644 --- a/src/os/unix/ngx_os.h +++ b/src/os/unix/ngx_os.h @@ -25,6 +25,7 @@ typedef ngx_chain_t *(*ngx_send_chain_pt)(ngx_connection_t *c, ngx_chain_t *in, typedef struct { ngx_recv_pt recv; ngx_recv_chain_pt recv_chain; + ngx_recv_pt udp_recv; ngx_send_pt send; ngx_send_chain_pt send_chain; ngx_uint_t flags; @@ -41,6 +42,7 @@ ngx_int_t ngx_daemon(ngx_log_t *log); ssize_t ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size); ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *entry); +ssize_t ngx_udp_unix_recv(ngx_connection_t *c, u_char *buf, size_t size); ssize_t ngx_unix_send(ngx_connection_t *c, u_char *buf, size_t size); ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit); |