darwin-head-build-fixes-20020821
[openafs.git] / src / rx / rx_xmit_nt.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #ifndef _RX_XMIT_NT_H_
11 #define _RX_XMIT_NT_H_
12
13
14 typedef struct iovec
15 #ifndef AFS_DJGPP_ENV
16 {
17         void *iov_base;
18         int iov_len;
19 }
20 #endif
21 iovec_t;
22
23 struct msghdr {
24     char * msg_name;
25     int msg_namelen;
26     iovec_t *msg_iov;
27     int msg_iovlen;
28     caddr_t msg_accrights;
29     int msg_accrightslen;
30 };
31
32 extern int rxi_sendmsg(int socket, struct msghdr *msgP, int flags);
33 #define sendmsg rxi_sendmsg
34 extern int rxi_recvmsg(int socket, struct msghdr *msgP, int flags);
35 #define recvmsg rxi_recvmsg
36
37
38 #endif /* _RX_XMIT_NT_H_ */