]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[MINOR] proxy: add a "parent" member to the structure
authorWilly Tarreau <w@1wt.eu>
Tue, 13 Jul 2010 14:24:48 +0000 (16:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 13 Jul 2010 14:24:48 +0000 (16:24 +0200)
This member will be used later when frontends are created on the
fly by some tasks. It will also be usable later if we need to
support multiple config instances for example.

include/types/proxy.h

index aab7b762c57214e1fda8a76f8c88f37ab666dacf..076a381d8f7e8b68347b29766ea3b2e4064e2ac3 100644 (file)
@@ -299,6 +299,7 @@ struct proxy {
                struct eb_root used_listener_id;/* list of listener IDs in use */
                struct eb_root used_server_id;  /* list of server IDs in use */
        } conf;                                 /* config information */
+       void *parent;                           /* parent of the proxy when applicable */
 };
 
 struct switching_rule {