1c370488f02429c9b8e7ee3bfa4dedc3cb9a9a3d
[freeradius.git] / src / include / udpfromto.h
1 #ifndef UDPFROMTO_H
2 #define UDPFROMTO_H
3 /*
4  * Version:     $Id$
5  *
6  */
7
8 #include <freeradius-devel/ident.h>
9 RCSIDH(udpfromtoh, "$Id$")
10
11 #include <freeradius-devel/autoconf.h>
12 #include <freeradius-devel/libradius.h>
13
14 #ifdef WITH_UDPFROMTO
15 int udpfromto_init(int s);
16 int recvfromto(int s, void *buf, size_t len, int flags,
17                struct sockaddr *from, socklen_t *fromlen,
18                struct sockaddr *to, socklen_t *tolen);
19 int sendfromto(int s, void *buf, size_t len, int flags,
20                struct sockaddr *from, socklen_t fromlen,
21                struct sockaddr *to, socklen_t tolen);
22 #endif
23
24 #endif