diff options
Diffstat (limited to 'src/reqs.h')
-rw-r--r-- | src/reqs.h | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -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 |