aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2008-11-03 15:24:44 +0000
committerGisle Vanem <gvanem@broadpark.no>2008-11-03 15:24:44 +0000
commit71f00188fb83592271883b94660da4e75ef20818 (patch)
tree933e980b0d0b9f8dec14a495289068bbd20f9c93
parenta1c9cb88601ce043b4848d3484ca78cba3531c63 (diff)
Added '#define HAVE_GETNAMEINFO' and qualifiers/types
for it.
-rw-r--r--lib/config.dos9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/config.dos b/lib/config.dos
index db9e4220c..16ed9d6a0 100644
--- a/lib/config.dos
+++ b/lib/config.dos
@@ -21,6 +21,7 @@
#define HAVE_FCNTL_H 1
#define HAVE_FIONBIO 1
#define HAVE_GETADDRINFO 1
+#define HAVE_GETNAMEINFO 1
#define HAVE_GETPROTOBYNAME 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_IO_H 1
@@ -63,7 +64,7 @@
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
-/* Qualifiers for send(), recv() and recvfrom(). */
+/* Qualifiers for send(), recv(), recvfrom() and getnameinfo(). */
#define SEND_TYPE_ARG1 int
#define SEND_QUAL_ARG2 const
@@ -87,6 +88,12 @@
#define RECVFROM_TYPE_RETV int
#define RECVFROM_TYPE_ARG2_IS_VOID 1
+#define GETNAMEINFO_QUAL_ARG1 const
+#define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
+#define GETNAMEINFO_TYPE_ARG2 int
+#define GETNAMEINFO_TYPE_ARG46 int
+#define GETNAMEINFO_TYPE_ARG7 int
+
#define BSD
/* #define MALLOCDEBUG */