haproxy/addons
Willy Tarreau 1c0715b12a CLEANUP: cli: move the status print context into its own context
Now that the CLI's print context is alone in the appctx, it's possible
to refine the appctx's ctx layout so that the cli part matches exactly
a regular svcctx, and as such move the CLI context into an svcctx like
other applets. External code will still build and work because the
struct cli perfectly maps onto the struct cli_print_ctx that's located
into svc.storage. This is of course only to make a smooth transition
during 2.6 and will disappear immediately after.

A tiny change had to be applied to the opentracing addon which performs
direct accesses to the CLI's err pointer in its own print function. The
rest uses the standard cli_print_* which were the only ones that needed
a small change.

The whole "ctx.cli" struct could be tagged as deprecated so that any
possibly existing external code that relies on it will get build
warnings, and the comments in the struct are pretty clear about the
way to fix it, and the lack of future of this old API.
2022-05-06 18:33:22 +02:00
..
51degrees CLEANUP: Add haproxy/xxhash.h to avoid modifying import/xxhash.h 2021-09-11 19:58:45 +02:00
deviceatlas MEDIUM: da: update module to handle schedule mode. 2022-01-28 07:29:01 +01:00
ot CLEANUP: cli: move the status print context into its own context 2022-05-06 18:33:22 +02:00
promex CLEANUP: promex: stop using appctx->st2 2022-05-06 18:13:35 +02:00
wurfl BUILD: wurfl: wurfl.c needs tools.h 2021-05-08 12:56:20 +02:00