comparison src/os/win32/ngx_sendv.h @ 0:4eff17414a43

nginx-0.0.1-2002-08-06-20:39:45 import The first code that uses "ngx_" prefix, the previous one used "gx_" prefix. At that point the code is not yet usable. The first draft ideas are dated back to 23.10.2001.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 06 Aug 2002 16:39:45 +0000
parents
children 6f58641241bb
comparison
equal deleted inserted replaced
-1:000000000000 0:4eff17414a43
1 #ifndef _NGX_SENDV_H_INCLUDED_
2 #define _NGX_SENDV_H_INCLUDED_
3
4
5 #include <ngx_config.h>
6
7 typedef WSABUF ngx_iovec_t;
8 #define ngx_iov_base buf
9 #define ngx_iov_len len
10
11 #define ngx_sendv(s, iovec, n, sent) WSASend(s, iovec, n, sent, 0, NULL, NULL)
12
13
14 #endif /* _NGX_SENDV_H_INCLUDED_ */