#ifndef LIGHTNING_LIGHTNINGD_NOTIFICATION_H #define LIGHTNING_LIGHTNINGD_NOTIFICATION_H #include "config.h" #include #include #include #include #include #include #include #include #include #include #include #include #include bool notifications_have_topic(const char *topic); void notify_connect(struct lightningd *ld, struct node_id *nodeid, struct wireaddr_internal *addr); void notify_disconnect(struct lightningd *ld, struct node_id *nodeid); void notify_warning(struct lightningd *ld, struct log_entry *l); void notify_invoice_payment(struct lightningd *ld, struct amount_msat amount, struct preimage preimage, const struct json_escape *label); void notify_channel_opened(struct lightningd *ld, struct node_id *node_id, struct amount_sat *funding_sat, struct bitcoin_txid *funding_txid, bool *funding_locked); void notify_forward_event(struct lightningd *ld, const struct htlc_in *in, const struct htlc_out *out, enum forward_status state, enum onion_type failcode, struct timeabs *resolved_time); #endif /* LIGHTNING_LIGHTNINGD_NOTIFICATION_H */