plugin: Dispatch notifications to subscribed plugins

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker
2018-12-13 13:23:21 +01:00
parent 37b2f907d4
commit 5813567856
2 changed files with 28 additions and 0 deletions

View File

@@ -79,4 +79,7 @@ char *add_plugin_dir(struct plugins *plugins, const char *dir,
*/
void clear_plugins(struct plugins *plugins);
void plugins_notify(struct plugins *plugins,
const struct jsonrpc_notification *n TAKES);
#endif /* LIGHTNING_LIGHTNINGD_PLUGIN_H */