s3:ctdbd_conn: add ctdbd_all_ip_foreach() helper
authorStefan Metzmacher <metze@samba.org>
Fri, 11 Aug 2023 11:07:46 +0000 (13:07 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 26 Jan 2024 17:00:32 +0000 (17:00 +0000)
commit9083f49e767409a34c629242086746622684d365
tree1415f4dd731d7262f5eb3894f055d948f4c97f34
parent3106709c8911d3684d0e3c6dea939df5ce558c6d
s3:ctdbd_conn: add ctdbd_all_ip_foreach() helper

This can we used to traverse through all ip addresses ctdb knows
about.

The caller can select node ips and/or public ips.

This will we useful to monitor the addresses from a witness
service...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/include/ctdbd_conn.h
source3/lib/ctdb_dummy.c
source3/lib/ctdbd_conn.c