diff options
author | bertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-05-29 16:58:52 +0000 |
---|---|---|
committer | bertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-05-29 16:58:52 +0000 |
commit | 84619a27693f89bc0124ff120204aefc0b3697cb (patch) | |
tree | deed5ccb179bd9e7bbe851e5132eef425b91f174 /url.h | |
parent | 3e437015c05a3a0e0931f5b6b14efef3c43bed9a (diff) | |
download | mpv-84619a27693f89bc0124ff120204aefc0b3697cb.tar.bz2 mpv-84619a27693f89bc0124ff120204aefc0b3697cb.tar.xz |
Bugs fix, improvements...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@903 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'url.h')
-rw-r--r-- | url.h | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -1,5 +1,11 @@ -#ifndef URL_H -#define URL_H +/* + * URL Helper + * by Bertrand Baudet <bertrand_baudet@yahoo.com> + * (C) 2001, MPlayer team. + */ + +#ifndef __URL_H +#define __URL_H typedef struct { char *url; @@ -7,9 +13,11 @@ typedef struct { char *hostname; char *file; unsigned int port; + char *username; + char *password; } URL_t; -URL_t* set_url(char* url); -void free_url(URL_t* url); +URL_t* url_new(char* url); +void url_free(URL_t* url); #endif |