mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
plugins/libplugin: hook support
Changelog-Added: plugins: libplugin now supports writing plugins which register to hooks
This commit is contained in:
committed by
Christian Decker
parent
3371f0cf78
commit
fcbd11f0c5
@@ -1395,5 +1395,6 @@ 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, 0, NULL);
|
||||
plugin_main(argv, init, PLUGIN_RESTARTABLE, commands, ARRAY_SIZE(commands),
|
||||
NULL, 0, NULL, 0, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user