mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +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
@@ -92,7 +92,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
setup_locale();
|
||||
plugin_main(argv, init, PLUGIN_RESTARTABLE, commands, ARRAY_SIZE(commands),
|
||||
NULL, 0,
|
||||
NULL, 0, NULL, 0,
|
||||
plugin_option("autocleaninvoice-cycle",
|
||||
"string",
|
||||
"Perform cleanup of expired invoices every"
|
||||
|
||||
Reference in New Issue
Block a user