From: Amaury Denoyelle Date: Mon, 2 Mar 2026 07:52:20 +0000 (+0100) Subject: MINOR: proxy: add comment for defaults_px_ref/unref_all() X-Git-Tag: v3.4-dev6~45 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=a7d1c59a92713739277c0a322feb77c7b30f690b;p=haproxy.git MINOR: proxy: add comment for defaults_px_ref/unref_all() Write documentation for functions related to default proxies instances. --- 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;