comparison stream/network.h @ 35301:8f6d3f8ffa61

Add url_new_with_proxy function to reduce code duplication and memleaks.
author reimar
date Sat, 10 Nov 2012 13:19:29 +0000
parents 4dc2b1261d29
children b5abdfe9bc61
comparison
equal deleted inserted replaced
35300:ebcf337f1786 35301:8f6d3f8ffa61
82 int http_send_request(URL_t *url, off_t pos); 82 int http_send_request(URL_t *url, off_t pos);
83 HTTP_header_t *http_read_response(int fd); 83 HTTP_header_t *http_read_response(int fd);
84 84
85 int http_authenticate(HTTP_header_t *http_hdr, URL_t *url, int *auth_retry); 85 int http_authenticate(HTTP_header_t *http_hdr, URL_t *url, int *auth_retry);
86 URL_t* check4proxies(const URL_t *url); 86 URL_t* check4proxies(const URL_t *url);
87 URL_t *url_new_with_proxy(const char *urlstr);
87 88
88 void fixup_network_stream_cache(stream_t *stream); 89 void fixup_network_stream_cache(stream_t *stream);
89 int http_seek(stream_t *stream, off_t pos); 90 int http_seek(stream_t *stream, off_t pos);
90 91
91 #endif /* MPLAYER_NETWORK_H */ 92 #endif /* MPLAYER_NETWORK_H */