mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-18 12:34:21 +01:00
libplugin: add support for before and after deps on hooks.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
e16ed0e207
commit
62c52fe868
@@ -93,6 +93,8 @@ struct plugin_hook {
|
||||
struct command_result *(*handle)(struct command *cmd,
|
||||
const char *buf,
|
||||
const jsmntok_t *params);
|
||||
/* If non-NULL, these are NULL-terminated arrays of deps */
|
||||
const char **before, **after;
|
||||
};
|
||||
|
||||
/* Return the feature set of the current lightning node */
|
||||
|
||||
Reference in New Issue
Block a user