MINOR: cli: add a function to look up a CLI service description
authorThierry Fournier <thierry.fournier@ozon.io>
Sat, 28 Nov 2020 19:10:08 +0000 (20:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Dec 2020 08:45:18 +0000 (09:45 +0100)
commita51a1fd17420a96bb766afbae354e041fc9e1d9b
treec9c76369b32a5e104465b9a3dbde83813e3c3dc1
parent87e539906b13ed1d86684d9d3eab82b550fae02d
MINOR: cli: add a function to look up a CLI service description

This function will be useful to check if the keyword is already registered.
Also add a define for the max number of args.

This will be needed by a next patch to fix a bug and will have to be
backported.
include/haproxy/cli-t.h
include/haproxy/cli.h
src/cli.c