diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-08-20 15:42:24 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-08-20 15:42:24 +0000 |
commit | 5974309d10e2db1bddc49ed6cca2f372bfc739ce (patch) | |
tree | bc52e172f318f93e9920f320975de77a7616f636 /include | |
parent | d00e4a377b4a7c432c15670b9316ceb53a9ad08c (diff) |
CURLINFO_RESPONSE_CODE replaces CURLINFO_HTTP_CODE
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index f3593f424..b856fa956 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -979,7 +979,7 @@ time_t curl_getdate(const char *p, const time_t *now); typedef enum { CURLINFO_NONE, /* first, never use this */ CURLINFO_EFFECTIVE_URL = CURLINFO_STRING + 1, - CURLINFO_HTTP_CODE = CURLINFO_LONG + 2, + CURLINFO_RESPONSE_CODE = CURLINFO_LONG + 2, CURLINFO_TOTAL_TIME = CURLINFO_DOUBLE + 3, CURLINFO_NAMELOOKUP_TIME = CURLINFO_DOUBLE + 4, CURLINFO_CONNECT_TIME = CURLINFO_DOUBLE + 5, @@ -1005,6 +1005,10 @@ typedef enum { CURLINFO_LASTONE = 23 } CURLINFO; +/* CURLINFO_RESPONSE_CODE is the new name for the option previously known as + CURLINFO_HTTP_CODE */ +#define CURLINFO_HTTP_CODE CURLINFO_RESPONSE_CODE + typedef enum { CURLCLOSEPOLICY_NONE, /* first, never use this */ |