REORG: cli: move "show info" to stats.c
authorWilly Tarreau <w@1wt.eu>
Tue, 22 Nov 2016 15:36:53 +0000 (16:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 15:59:27 +0000 (16:59 +0100)
commit0baac8cf1f172663e4969ccd7127a4b90984cea1
tree37dc1c92f6a64ef07743078f2c81f97aaa11e77b
parent2b812e29f6678b0691ec4bc2cd80c79b130e9d3f
REORG: cli: move "show info" to stats.c

Move the "show info" command to stats.c using the CLI keyword API
to register it on the CLI. The stats_dump_info_to_buffer() function
is now static again. Note, we don't need proto_ssl anymore in cli.c.
include/types/cli.h
include/types/stats.h
src/cli.c
src/stats.c