summaryrefslogtreecommitdiffstats
path: root/stream/http.h
diff options
context:
space:
mode:
authorcboesch <cboesch@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-11-18 20:20:39 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-12-16 04:13:16 +0200
commit8ffe2c9afe82366c08d4bb21849dec17eccdf949 (patch)
tree59809e23d1a825b3d7ca16ce314d86cd944c1d17 /stream/http.h
parent3073eaa8d397fc9a93678283872b295a9028b3c4 (diff)
downloadmpv-8ffe2c9afe82366c08d4bb21849dec17eccdf949.tar.bz2
mpv-8ffe2c9afe82366c08d4bb21849dec17eccdf949.tar.xz
stream/http: Add Proxy-Authorization header to authenticate on proxies
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32634 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/http.h')
-rw-r--r--stream/http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/http.h b/stream/http.h
index c52b9c8c79..d24ec45681 100644
--- a/stream/http.h
+++ b/stream/http.h
@@ -63,6 +63,7 @@ void http_set_field( HTTP_header_t *http_hdr, const char *field_name );
void http_set_method( HTTP_header_t *http_hdr, const char *method );
void http_set_uri( HTTP_header_t *http_hdr, const char *uri );
int http_add_basic_authentication( HTTP_header_t *http_hdr, const char *username, const char *password );
+int http_add_basic_proxy_authentication( HTTP_header_t *http_hdr, const char *username, const char *password );
void http_debug_hdr( HTTP_header_t *http_hdr );