summaryrefslogtreecommitdiffstats
path: root/stream/url.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2012-09-21 18:57:00 +0000
committerwm4 <wm4@nowhere>2012-10-30 19:50:20 +0100
commit82d47895e4b24e6ad096786756ad0f4923c81a4f (patch)
tree5a080eb13ab0f8a9f6263e8fba8d8a9ac0a2ca43 /stream/url.h
parent5a6dde54af8ce7208585a9e7ad0ef3ede26f24e0 (diff)
downloadmpv-82d47895e4b24e6ad096786756ad0f4923c81a4f.tar.bz2
mpv-82d47895e4b24e6ad096786756ad0f4923c81a4f.tar.xz
stream: fix redirection for proxy URLs
Fix redirection for proxy URLs. Should fix bug #2091. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35207 b3059339-0415-0410-9bf9-f77b7e298cf2 Conflicts: stream/url.c
Diffstat (limited to 'stream/url.h')
-rw-r--r--stream/url.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/url.h b/stream/url.h
index 5954367c8a..9115692fd1 100644
--- a/stream/url.h
+++ b/stream/url.h
@@ -36,6 +36,8 @@ typedef struct {
char *password;
} URL_t;
+int url_is_protocol(const URL_t *url, const char *proto);
+void url_set_protocol(URL_t *url, const char *proto);
URL_t *url_redirect(URL_t **url, const char *redir);
char *get_http_proxy_url(const URL_t *proxy, const char *host_url);