aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-09-30 21:01:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-09-30 21:01:23 +0000
commitbe1cece69b2bc7b73c07166ec5e164fabdac1c95 (patch)
tree9191ac933a02caa4ab288e8b64ebd32e0d474f6b /include
parent45be6d6645ebc20d9fac83ba2b1c17327faced49 (diff)
- Larry Campbell added CURLINFO_OS_ERRNO to curl_easy_getinfo() that allows an
app to retrieve the errno variable after a (connect) failure. It will make sense to provide this for more failures in a more generic way, but let's start like this.
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 767a833c8..f6df95394 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -1178,9 +1178,10 @@ typedef enum {
CURLINFO_HTTP_CONNECTCODE = CURLINFO_LONG + 22,
CURLINFO_HTTPAUTH_AVAIL = CURLINFO_LONG + 23,
CURLINFO_PROXYAUTH_AVAIL = CURLINFO_LONG + 24,
+ CURLINFO_OS_ERRNO = CURLINFO_LONG + 25,
/* Fill in new entries below here! */
- CURLINFO_LASTONE = 23
+ CURLINFO_LASTONE = 26
} CURLINFO;
/* CURLINFO_RESPONSE_CODE is the new name for the option previously known as