summaryrefslogtreecommitdiffhomepage
path: root/src/reverse-proxy.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-06 22:59:08 +0100
committerMichael Adam <obnox@samba.org>2009-12-07 00:22:46 +0100
commit3f1201c8b37280111efaf2e44d5992459eb4f4be (patch)
treec3309448b561496c8736947668e67717c77820bc /src/reverse-proxy.h
parent624d146cd6eefe1a6e6317f27a99f8c9521ab63d (diff)
Add a reversepath argument to reversepath_get().
This abstracts the setter/getter functions for the reversepath list from the concrete list in config.reversepath_list. Michael
Diffstat (limited to 'src/reverse-proxy.h')
-rw-r--r--src/reverse-proxy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reverse-proxy.h b/src/reverse-proxy.h
index 6bd40d6..252b41b 100644
--- a/src/reverse-proxy.h
+++ b/src/reverse-proxy.h
@@ -33,7 +33,8 @@ struct reversepath {
extern void reversepath_add (const char *path, const char *url,
struct reversepath **reversepath_list);
-extern struct reversepath *reversepath_get (char *url);
+extern struct reversepath *reversepath_get (char *url,
+ struct reversepath *reverse);
extern char *reverse_rewrite_url (struct conn_s *connptr,
hashmap_t hashofheaders, char *url);