From a7d1c59a92713739277c0a322feb77c7b30f690b Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Mon, 2 Mar 2026 08:52:20 +0100 Subject: [PATCH] MINOR: proxy: add comment for defaults_px_ref/unref_all() Write documentation for functions related to default proxies instances. --- src/proxy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/proxy.c b/src/proxy.c index b70c70b00..c3293de1f 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -3014,6 +3014,7 @@ void defaults_px_detach(struct proxy *px) /* If not destroyed, can still be accessed in . */ } +/* Increments by one defaults proxy reference of all defaults stored in tree name. */ void defaults_px_ref_all(void) { struct proxy *px; @@ -3025,6 +3026,7 @@ void defaults_px_ref_all(void) } } +/* Decrements defaults proxy ref of all defaults. This is the reverse of defaults_px_ref_all(). */ void defaults_px_unref_all(void) { struct proxy *px, *nx;