]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ring: make the applet code not depend on the CLI
authorWilly Tarreau <w@1wt.eu>
Tue, 19 May 2020 17:14:42 +0000 (19:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 19 May 2020 17:37:12 +0000 (19:37 +0200)
commit928068a74bf5ab63cd2b459db163ba3199fa36e9
tree1c574a5a3e9c147160f145567689b6c29eb76366
parent9597cbd17a984852395ce7337ca245b7f9c84ac1
MINOR: ring: make the applet code not depend on the CLI

The ring to applet communication was only made to deal with CLI functions
but it's generic. Let's have generic appctx functions and have the CLI
rely on these instead. This patch introduces ring_attach_appctx() and
ring_detach_appctx().
include/proto/ring.h
src/ring.c