lightningd: actually order the hooks.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2020-10-30 11:43:42 +10:30
committed by neil saitug
parent e2a31f42f2
commit 6a55b4367e
3 changed files with 132 additions and 1 deletions

View File

@@ -168,4 +168,7 @@ void plugin_hook_add_deps(struct plugin_hook *hook,
const jsmntok_t *before,
const jsmntok_t *after);
/* Returns NULL on success, error string allocated off ctx on failure. */
char *plugin_hook_make_ordered(const tal_t *ctx, struct plugin_hook *hook);
#endif /* LIGHTNING_LIGHTNINGD_PLUGIN_HOOK_H */