annotate url.h @ 1364:b511c6c5642d

*** empty log message ***
author gabucino
date Fri, 20 Jul 2001 16:58:55 +0000
parents ede5785faa53
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
902
ede5785faa53 Bugs fix, improvements...
bertrand
parents: 840
diff changeset
1 /*
ede5785faa53 Bugs fix, improvements...
bertrand
parents: 840
diff changeset
2 * URL Helper
ede5785faa53 Bugs fix, improvements...
bertrand
parents: 840
diff changeset
3 * by Bertrand Baudet <bertrand_baudet@yahoo.com>
ede5785faa53 Bugs fix, improvements...
bertrand
parents: 840
diff changeset
4 * (C) 2001, MPlayer team.
ede5785faa53 Bugs fix, improvements...
bertrand
parents: 840
diff changeset
5 */
ede5785faa53 Bugs fix, improvements...
bertrand
parents: 840
diff changeset
6
ede5785faa53 Bugs fix, improvements...
bertrand
parents: 840
diff changeset
7 #ifndef __URL_H
ede5785faa53 Bugs fix, improvements...
bertrand
parents: 840
diff changeset
8 #define __URL_H
833
b8cecdc0c67f Starting implementation of ASF network streaming.
bertrand
parents:
diff changeset
9
b8cecdc0c67f Starting implementation of ASF network streaming.
bertrand
parents:
diff changeset
10 typedef struct {
b8cecdc0c67f Starting implementation of ASF network streaming.
bertrand
parents:
diff changeset
11 char *url;
b8cecdc0c67f Starting implementation of ASF network streaming.
bertrand
parents:
diff changeset
12 char *protocol;
b8cecdc0c67f Starting implementation of ASF network streaming.
bertrand
parents:
diff changeset
13 char *hostname;
840
9141234715a2 Added initialisation of URL pointers.
bertrand
parents: 833
diff changeset
14 char *file;
833
b8cecdc0c67f Starting implementation of ASF network streaming.
bertrand
parents:
diff changeset
15 unsigned int port;
902
ede5785faa53 Bugs fix, improvements...
bertrand
parents: 840
diff changeset
16 char *username;
ede5785faa53 Bugs fix, improvements...
bertrand
parents: 840
diff changeset
17 char *password;
833
b8cecdc0c67f Starting implementation of ASF network streaming.
bertrand
parents:
diff changeset
18 } URL_t;
b8cecdc0c67f Starting implementation of ASF network streaming.
bertrand
parents:
diff changeset
19
902
ede5785faa53 Bugs fix, improvements...
bertrand
parents: 840
diff changeset
20 URL_t* url_new(char* url);
ede5785faa53 Bugs fix, improvements...
bertrand
parents: 840
diff changeset
21 void url_free(URL_t* url);
833
b8cecdc0c67f Starting implementation of ASF network streaming.
bertrand
parents:
diff changeset
22
b8cecdc0c67f Starting implementation of ASF network streaming.
bertrand
parents:
diff changeset
23 #endif