REORG: cli: move "show stat" to stats.c
authorWilly Tarreau <w@1wt.eu>
Tue, 22 Nov 2016 15:18:05 +0000 (16:18 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 15:59:27 +0000 (16:59 +0100)
commit2b812e29f6678b0691ec4bc2cd80c79b130e9d3f
tree9dda392d5fb1c6df9dc8d96b8626a6c1929c61b0
parent6b16094355d2768fe18b6485d54435ad2c9fbe21
REORG: cli: move "show stat" to stats.c

Move the "show stat" command to stats.c using the CLI keyword API
to register it on the CLI. The stats_dump_stat_to_buffer() function
is now static again.
include/proto/stats.h
include/types/cli.h
src/cli.c
src/stats.c