core-lightning/lightningd/plugin_control.h

19 lines
605 B
C
Raw Normal View History

#ifndef LIGHTNING_LIGHTNINGD_PLUGIN_CONTROL_H
#define LIGHTNING_LIGHTNINGD_PLUGIN_CONTROL_H
#include "config.h"
#include <lightningd/plugin.h>
/* Plugin startup failed */
struct command_result *plugin_cmd_killed(struct command *cmd,
struct plugin *plugin, const char *msg);
/* Plugin startup succeeded */
struct command_result *plugin_cmd_succeeded(struct command *cmd,
struct plugin *plugin);
/* All plugins succeeded/failed */
struct command_result *plugin_cmd_all_complete(struct plugins *plugins,
struct command *cmd);
#endif /* LIGHTNING_LIGHTNINGD_PLUGIN_CONTROL_H */