Mercurial > mplayer.hg
annotate url.h @ 1685:390bbb52e371
*** empty log message ***
author | gabucino |
---|---|
date | Sat, 25 Aug 2001 08:16:12 +0000 |
parents | ede5785faa53 |
children |
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); |
21 void url_free(URL_t* url); | |
833 | 22 |
23 #endif |