summaryrefslogtreecommitdiffstats
path: root/libmpdemux/url.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/url.h')
-rw-r--r--libmpdemux/url.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libmpdemux/url.h b/libmpdemux/url.h
new file mode 100644
index 0000000000..5855296c38
--- /dev/null
+++ b/libmpdemux/url.h
@@ -0,0 +1,23 @@
+/*
+ * URL Helper
+ * by Bertrand Baudet <bertrand_baudet@yahoo.com>
+ * (C) 2001, MPlayer team.
+ */
+
+#ifndef __URL_H
+#define __URL_H
+
+typedef struct {
+ char *url;
+ char *protocol;
+ char *hostname;
+ char *file;
+ unsigned int port;
+ char *username;
+ char *password;
+} URL_t;
+
+URL_t* url_new(char* url);
+void url_free(URL_t* url);
+
+#endif