core-lightning/lightningd/test
Rusty Russell bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_
Handers of a specific form are both designed to be used as callbacks
for param(), and also dispose of the command if something goes wrong.

Make them return the 'struct command_result *' from command_failed(),
or NULL.  

Renaming them just makes sense: json_tok_XXX is used for non-command-freeing
parsers too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-12-20 03:22:32 +00:00
..
Makefile Move json and param core functionality into common, for plugins. 2018-12-10 00:00:50 +00:00
run-find_my_abspath.c Move json and param core functionality into common, for plugins. 2018-12-10 00:00:50 +00:00
run-invoice-select-inchan.c param: make json_tok_ handlers all return command_result, rename to param_ 2018-12-20 03:22:32 +00:00
run-jsonrpc.c param: make json_tok_ handlers all return command_result, rename to param_ 2018-12-20 03:22:32 +00:00