| 685 | REGISTER_NOTIFICATION(plugin_started); |
| 686 | |
| 687 | void notify_plugin_started(struct lightningd *ld, struct plugin *plugin) |
| 688 | { |
| 689 | struct jsonrpc_notification *n = notify_start(ld, "plugin_started"); |
| 690 | if (!n) |
| 691 | return; |
| 692 | plugin_notification_serialize(n->stream, plugin); |
| 693 | notify_send(ld, n); |
| 694 | } |
| 695 | |
| 696 | REGISTER_NOTIFICATION(plugin_stopped); |
| 697 |
no test coverage detected