summaryrefslogtreecommitdiffhomepage
path: root/src/reverse-proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/reverse-proxy.h')
-rw-r--r--src/reverse-proxy.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/reverse-proxy.h b/src/reverse-proxy.h
index 2ad8522..2bb8a16 100644
--- a/src/reverse-proxy.h
+++ b/src/reverse-proxy.h
@@ -23,17 +23,18 @@
#include "conns.h"
-struct reversepath {
- struct reversepath *next;
- char *path;
- char *url;
+struct reversepath
+{
+ struct reversepath *next;
+ char *path;
+ char *url;
};
#define REVERSE_COOKIE "yummy_magical_cookie"
-extern void reversepath_add(const char *path, const char *url);
-extern struct reversepath *reversepath_get(char *url);
-extern char *reverse_rewrite_url(struct conn_s *connptr,
- hashmap_t hashofheaders, char *url);
+extern void reversepath_add (const char *path, const char *url);
+extern struct reversepath *reversepath_get (char *url);
+extern char *reverse_rewrite_url (struct conn_s *connptr,
+ hashmap_t hashofheaders, char *url);
#endif