aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h4
-rw-r--r--include/curl/typecheck-gcc.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index d93fd6764..d6db92fb7 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -1141,6 +1141,10 @@ typedef enum {
working with OpenSSL-powered builds. */
CINIT(CERTINFO, LONG, 172),
+ /* "name" and "pwd" to use when fetching. */
+ CINIT(USERNAME, OBJECTPOINT, 173),
+ CINIT(PASSWORD, OBJECTPOINT, 174),
+
CURLOPT_LASTENTRY /* the last unused */
} CURLoption;
diff --git a/include/curl/typecheck-gcc.h b/include/curl/typecheck-gcc.h
index bd0b0b7bb..33e264771 100644
--- a/include/curl/typecheck-gcc.h
+++ b/include/curl/typecheck-gcc.h
@@ -196,6 +196,8 @@ _CURL_WARNING(_curl_easy_getinfo_err_curl_slist,
(option) == CURLOPT_INTERFACE || \
(option) == CURLOPT_NETRC_FILE || \
(option) == CURLOPT_USERPWD || \
+ (option) == CURLOPT_USERNAME || \
+ (option) == CURLOPT_PASSWORD || \
(option) == CURLOPT_PROXYUSERPWD || \
(option) == CURLOPT_ENCODING || \
(option) == CURLOPT_REFERER || \