darosior
fcbd11f0c5
plugins/libplugin: hook support
Changelog-Added: plugins: libplugin now supports writing plugins which register to hooks
5 years ago
darosior
3371f0cf78
plugins/libplugin: notifications support
Changelog-Added: plugins: libplugin now supports writing plugin which registers to notifications
5 years ago
trueptolemy
2d1a153975
plugins: Return `command_param_failed()` if `param()` fail
5 years ago
darosior
0cd3823c98
libplugin: pass configuration to plugin's 'init' callback
So that a plugin can, for example, know if it has been loaded on startup
5 years ago
darosior
017ee7c916
libplugin: Add 'getmanifest' 'dynamic' field
5 years ago
Rusty Russell
c585f22711
libplugin: update API to use json_out.
We now hand around struct json_out members, rather than using formatted
strings, so plugins need to construct them properly.
There's no automatic conversion between ' and " any more, so those
are eliminated too. pay still uses some manual construction of elements.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
6 years ago
darosior
4640d18ef0
Plugins: allow to specify plugin option type in libplugin.c, then specify it to autoclean options
6 years ago
darosior
9d34121ec5
libplugin.c: Handle command categories then set them in pay and autoclean
6 years ago
ZmnSCPxj
30ad98a3ea
plugins/autoclean.c: Remove unnecessary inclusions.
6 years ago
Rusty Russell
4370ffa978
autoclean: make this a plugin.
No change in behavior.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
6 years ago