mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
These routines free the 'struct command': a common coding error is not to return immediately. To catch this, we make them return a non-NULL 'struct command_result *', and we're going to make the command handlers return the same (to encourage 'return command_fail(...)'-style usage). We also provide two sources for external use: 1. command_param_failed() when param() fails. 2. command_its_complicated() for some complex cases. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
Makefile | ||
run-bolt11.c | ||
run-cryptomsg.c | ||
run-derive_basepoints.c | ||
run-features.c | ||
run-funding_tx.c | ||
run-ip_port_parsing.c | ||
run-json.c | ||
run-json_escaped.c | ||
run-json_remove.c | ||
run-key_derive.c | ||
run-lock.c | ||
run-param.c | ||
run-sphinx.c |