libplugin: Add features to plugin_main and getmanifest

This commit is contained in:
Christian Decker
2020-03-31 15:34:02 +02:00
committed by Rusty Russell
parent 59567dc04b
commit e03acd9663
8 changed files with 30 additions and 11 deletions

View File

@@ -88,7 +88,7 @@ static const struct plugin_command commands[] = { {
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),
NULL, 0, NULL, 0,
plugin_option("autocleaninvoice-cycle",
"string",