#include <haproxy/thread.h>
extern struct list main_proxies;
-extern struct list proxies;
+extern struct list all_proxies;
extern struct ceb_root *used_proxy_id; /* list of proxy IDs in use */
extern unsigned int error_snapshot_id; /* global ID assigned to each error then incremented */
extern struct ceb_root *proxy_by_name; /* tree of proxies sorted by name */
clock_adjust_now_offset();
ready_date = date;
- list_for_each_entry(px, &proxies, global_list) {
+ list_for_each_entry(px, &all_proxies, global_list) {
struct server *srv;
struct post_proxy_check_fct *ppcf;
struct post_server_check_fct *pscf;
/* List of all proxies, except defaults.
* Currently only used for post_proxy_check_fct and post_server_check_fct post init.
*/
-struct list proxies = LIST_HEAD_INIT(proxies);
+struct list all_proxies = LIST_HEAD_INIT(all_proxies);
struct ceb_root *used_proxy_id = NULL; /* list of proxy IDs in use */
struct ceb_root *proxy_by_name = NULL; /* tree of proxies sorted by name */
proxy_store_name(px);
if (!(cap & PR_CAP_DEF))
- LIST_APPEND(&proxies, &px->global_list);
+ LIST_APPEND(&all_proxies, &px->global_list);
return 1;
dynpx_next_id = px->uuid;
/* Insert <px> into <main_proxies> list of visible proxies. Note that
- * insertion in <proxies> has already been performed in
+ * insertion in <all_proxies> has already been performed in
* setup_new_proxy() via alloc_new_proxy().
*/
main_proxies_register(px);