1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef UDPFROMTO_H
#define UDPFROMTO_H
/*
* $Id$
*
* @file udpfromto.h
*/
RCSIDH(udpfromtoh, "$Id$")
#include <freeradius-devel/libradius.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef WITH_UDPFROMTO
int udpfromto_init(int s);
int recvfromto(int s, void *buf, size_t len, int flags,
struct sockaddr *from, socklen_t *fromlen,
struct sockaddr *to, socklen_t *tolen);
int sendfromto(int s, void *buf, size_t len, int flags,
struct sockaddr *from, socklen_t fromlen,
struct sockaddr *to, socklen_t tolen);
#endif
#ifdef __cplusplus
}
#endif
#endif
|