summaryrefslogtreecommitdiff
path: root/url.h
diff options
context:
space:
mode:
Diffstat (limited to 'url.h')
-rw-r--r--url.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/url.h b/url.h
new file mode 100644
index 0000000..5e9bea8
--- /dev/null
+++ b/url.h
@@ -0,0 +1,15 @@
+#ifndef URL_H
+#define URL_H
+struct url {
+ char *scheme;
+ char *username;
+ char *password;
+ char *domain;
+ char *port;
+ char *path;
+ char *query_string;
+ char *fragment_id;
+};
+
+void urlfromline(struct url *u,char *line);
+#endif