CLEANUP: hlua/cli: take the hlua_cli context definition out of the appctx
authorWilly Tarreau <w@1wt.eu>
Tue, 3 May 2022 16:13:39 +0000 (18:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:35 +0000 (18:13 +0200)
commitbcda5f6bcda25ccfee85d9abae7b810ba87f94db
tree53a510409bba566bff00fb6ecd29ca3ed14fa7cb
parent41f885241e33d7515608acf848cb463696394f38
CLEANUP: hlua/cli: take the hlua_cli context definition out of the appctx

This context is used by CLI keywords registered by Lua. We can take
it out of the appctx and use the generic command context allocation so
that the appctx doesn't have to declare a specific one anymore. The
context is created during parsing.
include/haproxy/applet-t.h
src/hlua.c