summaryrefslogtreecommitdiff
path: root/lib/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compat.h')
-rw-r--r--lib/compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/compat.h b/lib/compat.h
new file mode 100644
index 0000000..125f651
--- /dev/null
+++ b/lib/compat.h
@@ -0,0 +1,5 @@
+/* Copyright 2011 NORDUnet A/S. All rights reserved.
+ See the file COPYING for licensing information. */
+
+ssize_t compat_send (int sockfd, const void *buf, size_t len, int flags);
+ssize_t compat_recv (int sockfd, void *buf, size_t len, int flags);