mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
libplugin: Add features to plugin_main and getmanifest
This commit is contained in:
committed by
Rusty Russell
parent
59567dc04b
commit
e03acd9663
@@ -123,7 +123,7 @@ static const struct plugin_notification notifs[] = { {
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
setup_locale();
|
||||
plugin_main(argv, init, PLUGIN_RESTARTABLE, commands, ARRAY_SIZE(commands),
|
||||
plugin_main(argv, init, PLUGIN_RESTARTABLE, NULL, commands, ARRAY_SIZE(commands),
|
||||
notifs, ARRAY_SIZE(notifs), hooks, ARRAY_SIZE(hooks),
|
||||
plugin_option("name",
|
||||
"string",
|
||||
|
||||
Reference in New Issue
Block a user