summaryrefslogtreecommitdiffstats
path: root/url.h
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-29 16:58:52 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-29 16:58:52 +0000
commit84619a27693f89bc0124ff120204aefc0b3697cb (patch)
treedeed5ccb179bd9e7bbe851e5132eef425b91f174 /url.h
parent3e437015c05a3a0e0931f5b6b14efef3c43bed9a (diff)
downloadmpv-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.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/url.h b/url.h
index 2d7ae89eb8..5855296c38 100644
--- a/url.h
+++ b/url.h
@@ -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