]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: listener: add listener_get_next_id() to find next free listener ID
authorWilly Tarreau <w@1wt.eu>
Sat, 23 Aug 2025 17:25:03 +0000 (19:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2025 07:23:46 +0000 (09:23 +0200)
commit23605eddb1f7d359281d544dadbfbff1d3e0c843
treee85f82fe5bdad14329f1c81b9338f582091056bf
parentb2402d67b73b547689158bf58be0056a7387acb9
MINOR: listener: add listener_get_next_id() to find next free listener ID

This was previously achieved via the generic get_next_id() but we'll soon
get rid of generic ID trees so let's have a dedicated listener_get_next_id().
As a bonus it reduces the exposure of the tree's root outside of the functions.
include/haproxy/listener.h
src/cfgparse.c
src/listener.c