summaryrefslogtreecommitdiffstats
path: root/stream/url.h
diff options
context:
space:
mode:
authorcboesch <cboesch@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-12-03 23:10:36 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-12-16 05:19:17 +0200
commit1737297b581eca0ebcb7a399253771450cc24176 (patch)
tree77ac3a89101319331bee9d35f5bff7ef574bfb6a /stream/url.h
parentdb522b94e05ba42ebe1ec489d9a61b2e254a9c84 (diff)
downloadmpv-1737297b581eca0ebcb7a399253771450cc24176.tar.bz2
mpv-1737297b581eca0ebcb7a399253771450cc24176.tar.xz
stream/http: Add support for login/password in http_proxy env variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32673 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/url.h')
-rw-r--r--stream/url.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/url.h b/stream/url.h
index c89d91a663..b75978af2c 100644
--- a/stream/url.h
+++ b/stream/url.h
@@ -37,6 +37,9 @@ typedef struct {
} URL_t;
URL_t *url_redirect(URL_t **url, const char *redir);
+
+int make_http_proxy_url(URL_t *proxy, const char *host_url, char *dst, int dst_size);
+
URL_t* url_new(const char* url);
void url_free(URL_t* url);