MINOR: cli: add private pointer and release function
authorThierry FOURNIER / OZON.IO <thierry.fournier@ozon.io>
Sat, 12 Nov 2016 09:51:33 +0000 (10:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 18 Nov 2016 13:32:03 +0000 (14:32 +0100)
commit6a22dcbe27e56be8941627181d360a1d3c73eef7
tree84bd0180b1bb36bb65be4982388f3043a301d135
parentef8f4fe12d03d6e015b6e5bfa0a9d063cff83b89
MINOR: cli: add private pointer and release function

This pointer will be used for storing private context. With this,
the same executed function can handle more than one keyword. This
will be very useful for creation Lua cli bindings.

The release function is called when the command is terminated (give
back the hand to the prompt) or when the session is broken (timeout
or client closed).
include/proto/applet.h
include/proto/dumpstats.h
include/types/applet.h
src/dumpstats.c