summaryrefslogtreecommitdiffhomepage
path: root/src/tinyproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tinyproxy.h')
-rw-r--r--src/tinyproxy.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/tinyproxy.h b/src/tinyproxy.h
index 0c4e461..ad02120 100644
--- a/src/tinyproxy.h
+++ b/src/tinyproxy.h
@@ -1,4 +1,4 @@
-/* $Id: tinyproxy.h,v 1.42 2003-08-01 00:14:34 rjkaes Exp $
+/* $Id: tinyproxy.h,v 1.43 2004-01-26 19:11:51 rjkaes Exp $
*
* See 'tinyproxy.c' for a detailed description.
*
@@ -36,6 +36,16 @@ struct upstream {
};
#endif
+#ifdef REVERSE_SUPPORT
+struct reversepath {
+ struct reversepath *next;
+ char *path;
+ char *url;
+};
+
+#define REVERSE_COOKIE "yummy_magical_cookie"
+#endif
+
/*
* Hold all the configuration time information.
*/
@@ -58,6 +68,12 @@ struct config_s {
#ifdef XTINYPROXY_ENABLE
char *my_domain;
#endif
+#ifdef REVERSE_SUPPORT
+ struct reversepath *reversepath_list;
+ unsigned int reverseonly; /* boolean */
+ unsigned int reversemagic; /* boolean */
+ char *reversebaseurl;
+#endif
#ifdef UPSTREAM_SUPPORT
struct upstream *upstream_list;
#endif /* UPSTREAM_SUPPORT */