summaryrefslogtreecommitdiffstats
path: root/stream/url.h
diff options
context:
space:
mode:
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);