summaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-10-02 09:40:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-10-02 09:40:06 +0000
commit51ca5fcbe0745cc4e245ffb69b339d1987be3b88 (patch)
tree1d7bc96cf8391dfa174f90ab4ec2c2177ff6d30c /lib/setup.h
parent56ff2aa059361c19c420c5321efe86e50074e0ac (diff)
downloadcurl-51ca5fcbe0745cc4e245ffb69b339d1987be3b88.tar.gz
major connecting updates
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/setup.h b/lib/setup.h
index b5fd9f505..d238d70cc 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -144,4 +144,19 @@ int fileno( FILE *stream);
#endif
+/*
+ * Curl_addrinfo MUST be used for name resolving information.
+ * Information regarding a single IP witin a Curl_addrinfo MUST be stored in
+ * a Curl_ipconnect struct.
+ */
+#ifdef ENABLE_IPV6
+typedef struct addrinfo Curl_addrinfo;
+typedef struct addrinfo Curl_ipconnect;
+#else
+typedef struct hostent Curl_addrinfo;
+typedef struct in_addr Curl_ipconnect;
+#endif
+
+
+
#endif /* __CONFIG_H */