diff options
Diffstat (limited to 'stream/url.h')
-rw-r--r-- | stream/url.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stream/url.h b/stream/url.h index b75978af2c..9115692fd1 100644 --- a/stream/url.h +++ b/stream/url.h @@ -36,9 +36,11 @@ 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); -int make_http_proxy_url(URL_t *proxy, const char *host_url, char *dst, int dst_size); +char *get_http_proxy_url(const URL_t *proxy, const char *host_url); URL_t* url_new(const char* url); void url_free(URL_t* url); |