CLEANUP: cache/cli: make use of a locally defined context for "show cache"
authorWilly Tarreau <w@1wt.eu>
Thu, 5 May 2022 14:46:13 +0000 (16:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:36 +0000 (18:13 +0200)
commitc6dfef7a0b295261a3aaa943bf7bcab45cb3c43c
tree5a80b7449cc0d36ee399663fec3e92ecb8aca56d
parent12d5228a447f233e7e8e51079113edb158b946ff
CLEANUP: cache/cli: make use of a locally defined context for "show cache"

The command uses a pointer to a cache instance and the next key to dump,
they were in cli.p0/i0 respectively, let's move them to a struct
show_cache_ctx.
src/cache.c