summaryrefslogtreecommitdiff
path: root/src/input/http_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/http_helper.h')
-rw-r--r--src/input/http_helper.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/input/http_helper.h b/src/input/http_helper.h
index a89f93c3b..0c63f4a14 100644
--- a/src/input/http_helper.h
+++ b/src/input/http_helper.h
@@ -19,9 +19,12 @@
*
* URL helper functions
*
- * $Id: http_helper.h,v 1.1 2003/11/26 08:09:58 tmattern Exp $
+ * $Id: http_helper.h,v 1.2 2004/03/31 07:42:50 valtri Exp $
*/
+#ifndef HTTP_HELPER_H
+#define HTTP_HELPER_H
+
/*
* url parser
* {proto}://{user}:{password}@{host}:{port}{uri}
@@ -31,8 +34,7 @@
* 0 invalid url
* 1 valid url
*/
-#ifndef HTTP_HELPER_H
-#define HTTP_HELPER_H
int _x_parse_url (char *url, char **proto, char** host, int *port,
char **user, char **password, char **uri);
+
#endif /* HTTP_HELPER_H */