mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +01:00
plugin: wire JSON id for commands which caused hooks to fire.
Most obvious one is the "connect" hook. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -149,6 +149,10 @@ struct command_result *command_success(struct command *cmd UNNEEDED,
|
||||
struct json_stream *response)
|
||||
|
||||
{ fprintf(stderr, "command_success called!\n"); abort(); }
|
||||
/* Generated stub for connect_any_cmd_id */
|
||||
const char *connect_any_cmd_id(const tal_t *ctx UNNEEDED,
|
||||
struct lightningd *ld UNNEEDED, const struct peer *peer UNNEEDED)
|
||||
{ fprintf(stderr, "connect_any_cmd_id called!\n"); abort(); }
|
||||
/* Generated stub for connect_failed_disconnect */
|
||||
void connect_failed_disconnect(struct lightningd *ld UNNEEDED,
|
||||
const struct node_id *id UNNEEDED,
|
||||
@@ -671,7 +675,9 @@ bool peer_start_openingd(struct peer *peer UNNEEDED,
|
||||
struct peer_fd *peer_fd UNNEEDED)
|
||||
{ fprintf(stderr, "peer_start_openingd called!\n"); abort(); }
|
||||
/* Generated stub for plugin_hook_call_ */
|
||||
bool plugin_hook_call_(struct lightningd *ld UNNEEDED, const struct plugin_hook *hook UNNEEDED,
|
||||
bool plugin_hook_call_(struct lightningd *ld UNNEEDED,
|
||||
const struct plugin_hook *hook UNNEEDED,
|
||||
const char *cmd_id TAKES UNNEEDED,
|
||||
tal_t *cb_arg STEALS UNNEEDED)
|
||||
{ fprintf(stderr, "plugin_hook_call_ called!\n"); abort(); }
|
||||
/* Generated stub for plugin_request_send */
|
||||
|
||||
Reference in New Issue
Block a user