Mercurial > mplayer.hg
annotate libmpdemux/url.h @ 3214:6d3c84c8b2f6
similar to r1.121
author | jaf |
---|---|
date | Thu, 29 Nov 2001 22:16:07 +0000 |
parents | 9fad4017ec37 |
children | 5c8a533dfa09 |
rev | line source |
---|---|
902 | 1 /* |
2 * URL Helper | |
3 * by Bertrand Baudet <bertrand_baudet@yahoo.com> | |
4 * (C) 2001, MPlayer team. | |
5 */ | |
6 | |
7 #ifndef __URL_H | |
8 #define __URL_H | |
833 | 9 |
10 typedef struct { | |
11 char *url; | |
12 char *protocol; | |
13 char *hostname; | |
840 | 14 char *file; |
833 | 15 unsigned int port; |
902 | 16 char *username; |
17 char *password; | |
833 | 18 } URL_t; |
19 | |
902 | 20 URL_t* url_new(char* url); |
3040 | 21 URL_t* url_copy(URL_t* url); |
902 | 22 void url_free(URL_t* url); |
833 | 23 |
24 #endif |