mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 14:54:26 +01:00
lightningd: have plugin_send_getmanifest return an error string.
This way the caller doesn't have to "know" that it should use strerror(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -196,8 +196,10 @@ bool plugin_remove(struct plugins *plugins, const char *name);
|
||||
|
||||
/**
|
||||
* Kick of initialization of a plugin.
|
||||
*
|
||||
* Returns error string, or NULL.
|
||||
*/
|
||||
bool plugin_send_getmanifest(struct plugin *p);
|
||||
const char *plugin_send_getmanifest(struct plugin *p);
|
||||
|
||||
/**
|
||||
* Kick of initialization of all plugins which need it/
|
||||
|
||||
Reference in New Issue
Block a user