2019-06-29 13:47:48 +02:00
|
|
|
#ifndef LIGHTNING_LIGHTNINGD_PLUGIN_CONTROL_H
|
|
|
|
#define LIGHTNING_LIGHTNINGD_PLUGIN_CONTROL_H
|
|
|
|
#include "config.h"
|
2019-09-14 17:35:28 +02:00
|
|
|
#include <lightningd/plugin.h>
|
2019-06-29 13:47:48 +02:00
|
|
|
|
2021-06-16 03:02:17 +02:00
|
|
|
struct plugin_command;
|
|
|
|
|
2020-05-05 03:13:14 +02:00
|
|
|
/* Plugin startup failed */
|
2021-06-16 03:02:17 +02:00
|
|
|
struct command_result *plugin_cmd_killed(struct plugin_command *pcmd,
|
2020-05-05 03:13:14 +02:00
|
|
|
struct plugin *plugin, const char *msg);
|
|
|
|
|
|
|
|
/* Plugin startup succeeded */
|
2021-06-16 03:02:17 +02:00
|
|
|
struct command_result *plugin_cmd_succeeded(struct plugin_command *pcmd,
|
2020-05-05 03:13:14 +02:00
|
|
|
struct plugin *plugin);
|
|
|
|
|
|
|
|
/* All plugins succeeded/failed */
|
|
|
|
struct command_result *plugin_cmd_all_complete(struct plugins *plugins,
|
2021-06-16 03:02:17 +02:00
|
|
|
struct plugin_command *pcmd);
|
2019-06-29 13:47:48 +02:00
|
|
|
|
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_PLUGIN_CONTROL_H */
|