From: Willy Tarreau Date: Tue, 13 Jul 2010 14:24:48 +0000 (+0200) Subject: [MINOR] proxy: add a "parent" member to the structure X-Git-Tag: v1.5-dev8~544 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=258a14b7d76ea2d73d030d052f89a337a345c410;p=thirdparty%2Fhaproxy.git [MINOR] proxy: add a "parent" member to the structure 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. --- diff --git a/include/types/proxy.h b/include/types/proxy.h index aab7b762c5..076a381d8f 100644 --- a/include/types/proxy.h +++ b/include/types/proxy.h @@ -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 {