mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +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
@@ -118,9 +118,14 @@ static const struct plugin_command commands[] = { {
|
||||
}
|
||||
};
|
||||
|
||||
static const char *before[] = { "dummy", NULL };
|
||||
static const char *after[] = { "dummy", NULL };
|
||||
|
||||
static const struct plugin_hook hooks[] = { {
|
||||
"peer_connected",
|
||||
json_peer_connected,
|
||||
before,
|
||||
after
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user