summaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-03 10:17:26 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-03 10:17:26 +0000
commit052f24c9b7016bcb5fe3a751efb944928e1fb138 (patch)
tree3637d58c934aeec6b7b6e599d70ab94e26d2681c /lib/http.h
parentbce03fe14452da555468616db52003ba05c0e288 (diff)
downloadcurl-052f24c9b7016bcb5fe3a751efb944928e1fb138.tar.gz
http: Post base64 decoding tidy up
Renamed copy_header_value() to Curl_copy_header_value() as this function is now non static. Simplified proxy flag in Curl_http_input_auth() when calling sub-functions. Removed unnecessary white space removal when using negotiate as it had been missed in commit cdccb422671aeb.
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/http.h b/lib/http.h
index d74714d58..82a7b5008 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -35,12 +35,12 @@ extern const struct Curl_handler Curl_handler_http;
extern const struct Curl_handler Curl_handler_https;
#endif
-/* Header specific function */
+/* Header specific functions */
bool Curl_compareheader(const char *headerline, /* line to check */
const char *header, /* header keyword _with_ colon */
const char *content); /* content string to find */
char *Curl_checkheaders(struct SessionHandle *data, const char *thisheader);
-char *copy_header_value(const char *h);
+char *Curl_copy_header_value(const char *header);
/* ------------------------------------------------------------------------- */
/*
@@ -82,8 +82,8 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap,
/* These functions are in http.c */
void Curl_http_auth_stage(struct SessionHandle *data, int stage);
-CURLcode Curl_http_input_auth(struct connectdata *conn,
- int httpcode, const char *header);
+CURLcode Curl_http_input_auth(struct connectdata *conn, bool proxy,
+ const char *auth);
CURLcode Curl_http_auth_act(struct connectdata *conn);
CURLcode Curl_http_perhapsrewind(struct connectdata *conn);