From 50b37d4a27d3295a29afca2286f1a5a086142cec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:49:46 +0200 Subject: Adding upstream version 3.2.1+dfsg. Signed-off-by: Daniel Baumann --- src/include/udpfromto.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/include/udpfromto.h (limited to 'src/include/udpfromto.h') diff --git a/src/include/udpfromto.h b/src/include/udpfromto.h new file mode 100644 index 0000000..7b029cd --- /dev/null +++ b/src/include/udpfromto.h @@ -0,0 +1,31 @@ +#ifndef UDPFROMTO_H +#define UDPFROMTO_H +/* + * $Id$ + * + * @file udpfromto.h + */ + +RCSIDH(udpfromtoh, "$Id$") + +#include + +#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 -- cgit v1.2.3