summaryrefslogtreecommitdiff
path: root/src/reqs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/reqs.h')
-rw-r--r--src/reqs.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/reqs.h b/src/reqs.h
index de8730e..39501fc 100644
--- a/src/reqs.h
+++ b/src/reqs.h
@@ -34,18 +34,19 @@
/*
* This structure holds the information pulled from a URL request.
*/
-struct request_s {
- char *method;
- char *protocol;
+struct request_s
+{
+ char *method;
+ char *protocol;
- char *host;
- uint16_t port;
+ char *host;
+ uint16_t port;
- char *path;
+ char *path;
};
-extern void handle_connection(int fd);
-extern void add_connect_port_allowed(int port);
-extern void upstream_add(const char *host, int port, const char *domain);
+extern void handle_connection (int fd);
+extern void add_connect_port_allowed (int port);
+extern void upstream_add (const char *host, int port, const char *domain);
#endif