From 3f1201c8b37280111efaf2e44d5992459eb4f4be Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 6 Dec 2009 22:59:08 +0100 Subject: 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 --- src/reverse-proxy.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/reverse-proxy.h') 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); -- cgit v1.2.3