Added CURLINFO_HTTP_CONNECTCODE
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Aug 2003 23:12:46 +0000 (23:12 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 Aug 2003 23:12:46 +0000 (23:12 +0000)
Added CURL_VERSION_ASYNCHDNS

include/curl/curl.h

index 182e62177a4e32ab1727b271849b3c5f0193c177..4c4f41f13ef8d1c8844ac10c509e72bcb209268c 100644 (file)
@@ -992,22 +992,17 @@ typedef enum {
   CURLINFO_REQUEST_SIZE     = CURLINFO_LONG   + 12,
   CURLINFO_SSL_VERIFYRESULT = CURLINFO_LONG   + 13,
   CURLINFO_FILETIME         = CURLINFO_LONG   + 14,
-
   CURLINFO_CONTENT_LENGTH_DOWNLOAD   = CURLINFO_DOUBLE + 15,
   CURLINFO_CONTENT_LENGTH_UPLOAD     = CURLINFO_DOUBLE + 16,
-
   CURLINFO_STARTTRANSFER_TIME = CURLINFO_DOUBLE + 17,
-
-  CURLINFO_CONTENT_TYPE = CURLINFO_STRING + 18,
-
-  CURLINFO_REDIRECT_TIME   = CURLINFO_DOUBLE + 19,
-  CURLINFO_REDIRECT_COUNT  = CURLINFO_LONG + 20,
-
-  CURLINFO_PRIVATE = CURLINFO_STRING + 21,
-
-  /* Fill in new entries here! */
-
-  CURLINFO_LASTONE          = 22
+  CURLINFO_CONTENT_TYPE     = CURLINFO_STRING + 18,
+  CURLINFO_REDIRECT_TIME    = CURLINFO_DOUBLE + 19,
+  CURLINFO_REDIRECT_COUNT   = CURLINFO_LONG + 20,
+  CURLINFO_PRIVATE          = CURLINFO_STRING + 21,
+  CURLINFO_HTTP_CONNECTCODE = CURLINFO_LONG   + 22,
+  /* Fill in new entries below here! */
+
+  CURLINFO_LASTONE          = 23
 } CURLINFO;
 
 typedef enum {
@@ -1125,6 +1120,7 @@ typedef struct {
 #define CURL_VERSION_NTLM      (1<<4)
 #define CURL_VERSION_GSSNEGOTIATE (1<<5)
 #define CURL_VERSION_DEBUG     (1<<6) /* built with debug capabilities */
+#define CURL_VERSION_ASYNCHDNS (1<<7)
 
 /*
  * NAME curl_version_info()