Comment out the correct #endif directive.
[mplayer/greg.git] / stream / url.h
blob4711dbeb4e18944db80f6cbc923d6c4368e72556
1 /*
2 * URL Helper
3 * by Bertrand Baudet <bertrand_baudet@yahoo.com>
4 * (C) 2001, MPlayer team.
5 */
7 #ifndef URL_H
8 #define URL_H
10 //#define URL_DEBUG
12 typedef struct {
13 char *url;
14 char *protocol;
15 char *hostname;
16 char *file;
17 unsigned int port;
18 char *username;
19 char *password;
20 } URL_t;
22 URL_t *url_redirect(URL_t **url, const char *redir);
23 URL_t* url_new(const char* url);
24 void url_free(URL_t* url);
26 void url_unescape_string(char *outbuf, const char *inbuf);
27 void url_escape_string(char *outbuf, const char *inbuf);
29 #ifdef URL_DEBUG
30 void url_debug(const URL_t* url);
31 #endif /* URL_DEBUG */
33 #endif /* URL_H */