Mercurial > hg > nginx-quic
comparison src/os/win32/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 | 4eff17414a43 |
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_config.h> | 5 #include <ngx_config.h> |
6 #include <ngx_connection.h> | |
6 | 7 |
7 typedef WSABUF ngx_iovec_t; | 8 typedef WSABUF ngx_iovec_t; |
8 #define ngx_iov_base buf | 9 #define ngx_iov_base buf |
9 #define ngx_iov_len len | 10 #define ngx_iov_len len |
10 | 11 |
11 #define ngx_sendv(s, iovec, n, sent) WSASend(s, iovec, n, sent, 0, NULL, NULL) | 12 ssize_t ngx_sendv(ngx_connection_t *c, ngx_iovec_t *iovec, int n); |
12 | 13 |
13 | 14 |
14 #endif /* _NGX_SENDV_H_INCLUDED_ */ | 15 #endif /* _NGX_SENDV_H_INCLUDED_ */ |