aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_sendv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_sendv.h')
-rw-r--r--src/os/unix/ngx_sendv.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/os/unix/ngx_sendv.h b/src/os/unix/ngx_sendv.h
new file mode 100644
index 000000000..16c24039b
--- /dev/null
+++ b/src/os/unix/ngx_sendv.h
@@ -0,0 +1,14 @@
+#ifndef _NGX_SENDV_H_INCLUDED_
+#define _NGX_SENDV_H_INCLUDED_
+
+
+#include <ngx_types.h>
+
+typedef struct iovec ngx_iovec_t;
+#define ngx_iov_base iov_base
+#define ngx_iov_len iov_len
+
+ssize_t ngx_sendv(ngx_socket_t s, ngx_iovec_t *iovec, int n, size_t *sent);
+
+
+#endif /* _NGX_SENDV_H_INCLUDED_ */