summaryrefslogtreecommitdiff
path: root/lib/config-tpf.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-16 19:16:41 +0000
committerYang Tse <yangsita@gmail.com>2008-07-16 19:16:41 +0000
commita9dc900515a28dcf55b2901a8609072430087693 (patch)
tree2f8501d314b4c297ccdf997a6ad15716cba7ce1f /lib/config-tpf.h
parent3a705696af63b57278ad0f54890cfa6770ec66eb (diff)
downloadcurl-a9dc900515a28dcf55b2901a8609072430087693.tar.gz
Configure process now checks availability of recvfrom() socket function and
finds out its return type and the types of its arguments. Added definitions for non-configure systems config files, and introduced macro sreadfrom which will be used on udp sockets as a recvfrom() wrapper.
Diffstat (limited to 'lib/config-tpf.h')
-rw-r--r--lib/config-tpf.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/config-tpf.h b/lib/config-tpf.h
index ee86bab41..1d114b9ce 100644
--- a/lib/config-tpf.h
+++ b/lib/config-tpf.h
@@ -702,6 +702,30 @@
/* Define to the function return type for recv. */
#define RECV_TYPE_RETV int
+/* Define to 1 if you have the recvfrom function. */
+#define HAVE_RECVFROM 1
+
+/* Define to the type of arg 1 for recvfrom. */
+#define RECVFROM_TYPE_ARG1 int
+
+/* Define to the type of arg 2 for recvfrom. */
+#define RECVFROM_TYPE_ARG2 char *
+
+/* Define to the type of arg 3 for recvfrom. */
+#define RECVFROM_TYPE_ARG3 int
+
+/* Define to the type of arg 4 for recvfrom. */
+#define RECVFROM_TYPE_ARG4 int
+
+/* Define to the type of arg 5 for recvfrom. */
+#define RECVFROM_TYPE_ARG5 struct sockaddr *
+
+/* Define to the type of arg 6 for recvfrom. */
+#define RECVFROM_TYPE_ARG6 int *
+
+/* Define to the function return type for recvfrom. */
+#define RECVFROM_TYPE_RETV int
+
/* Define to 1 if you have the send function. */
#define HAVE_SEND 1