plugins/libplugin: notifications support

Changelog-Added: plugins: libplugin now supports writing plugin which registers to notifications
This commit is contained in:
darosior
2019-12-04 18:19:14 +01:00
committed by Christian Decker
parent f7ebbb2ec5
commit 3371f0cf78
5 changed files with 59 additions and 19 deletions

View File

@@ -1395,5 +1395,5 @@ static const struct plugin_command commands[] = { {
int main(int argc, char *argv[])
{
setup_locale();
plugin_main(argv, init, PLUGIN_RESTARTABLE, commands, ARRAY_SIZE(commands), NULL);
plugin_main(argv, init, PLUGIN_RESTARTABLE, commands, ARRAY_SIZE(commands), NULL, 0, NULL);
}