commit | edb91ad647988f6ac6b7fb9e749597072c5d5e8d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Aug 08 19:09:21 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 09 10:11:38 2019 +0200 |
tree | d04a0e9cbc452d6513359ca40036a179075cb7d7 | |
parent | d50c7feaa16acf40f66e865e7a836d74bd1d345c [diff] |
MINOR: cli: add cli_msg(), cli_err(), cli_dynmsg(), cli_dynerr() These functions perform all the boring filling of the appctx's cli struct needed by CLI parsers to return a message or an error, and they return 1 so that they can be used as a single-line return statement. They may be used for const messages or dynamic messages.