Mercurial > hg > nginx
comparison src/os/unix/ngx_sendv.h @ 9:6f58641241bb
nginx-0.0.1-2002-09-07-14:14:25 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 07 Sep 2002 10:14:25 +0000 |
parents | 34a521b1a148 |
children |
comparison
equal
deleted
inserted
replaced
8:708f8bb772ec | 9:6f58641241bb |
---|---|
1 #ifndef _NGX_SENDV_H_INCLUDED_ | 1 #ifndef _NGX_SENDV_H_INCLUDED_ |
2 #define _NGX_SENDV_H_INCLUDED_ | 2 #define _NGX_SENDV_H_INCLUDED_ |
3 | 3 |
4 | 4 |
5 #include <ngx_types.h> | 5 #include <ngx_types.h> |
6 #include <ngx_socket.h> | 6 #include <ngx_connection.h> |
7 | 7 |
8 typedef struct iovec ngx_iovec_t; | 8 typedef struct iovec ngx_iovec_t; |
9 #define ngx_iov_base iov_base | 9 #define ngx_iov_base iov_base |
10 #define ngx_iov_len iov_len | 10 #define ngx_iov_len iov_len |
11 | 11 |
12 ssize_t ngx_sendv(ngx_socket_t s, ngx_iovec_t *iovec, int n, size_t *sent); | 12 ssize_t ngx_sendv(ngx_connection_t *c, ngx_iovec_t *iovec, int n); |
13 | 13 |
14 | 14 |
15 #endif /* _NGX_SENDV_H_INCLUDED_ */ | 15 #endif /* _NGX_SENDV_H_INCLUDED_ */ |