[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.
This commit is contained in:
Willy Tarreau 2010-07-13 16:24:48 +02:00
parent 0bd05eaf24
commit 258a14b7d7

View File

@ -299,6 +299,7 @@ struct proxy {
struct eb_root used_listener_id;/* list of listener IDs in use */ struct eb_root used_listener_id;/* list of listener IDs in use */
struct eb_root used_server_id; /* list of server IDs in use */ struct eb_root used_server_id; /* list of server IDs in use */
} conf; /* config information */ } conf; /* config information */
void *parent; /* parent of the proxy when applicable */
}; };
struct switching_rule { struct switching_rule {