summaryrefslogtreecommitdiff
path: root/url.h
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2015-08-22 03:36:15 -0500
committerepochqwert <epoch@hacking.allowed.org>2015-08-22 03:36:15 -0500
commitb7849c483393cf510cbe4bca137ce4520b636685 (patch)
tree28e6410126fac350d69c9f47a7588f7dfd639841 /url.h
downloaduritools-b7849c483393cf510cbe4bca137ce4520b636685.tar.gz
uritools-b7849c483393cf510cbe4bca137ce4520b636685.zip
initial commit.
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