From e67d46189c911ca7dbeef8c7b7c99c4751683948 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 3 Dec 2007 16:46:46 +0000 Subject: ngx_udp_recv() --- src/os/unix/ngx_os.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/os/unix/ngx_os.h') 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); -- cgit