2018-12-12 14:36:11 +01:00
|
|
|
#ifndef LIGHTNING_LIGHTNINGD_NOTIFICATION_H
|
|
|
|
#define LIGHTNING_LIGHTNINGD_NOTIFICATION_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <lightningd/jsonrpc.h>
|
2018-12-13 13:58:40 +01:00
|
|
|
#include <lightningd/lightningd.h>
|
2018-12-12 14:36:11 +01:00
|
|
|
#include <lightningd/plugin.h>
|
|
|
|
|
|
|
|
bool notifications_have_topic(const char *topic);
|
|
|
|
|
2018-12-13 13:58:40 +01:00
|
|
|
void notify_connect(struct lightningd *ld, struct pubkey *nodeid,
|
|
|
|
struct wireaddr_internal *addr);
|
|
|
|
void notify_disconnect(struct lightningd *ld, struct pubkey *nodeid);
|
|
|
|
|
2018-12-12 14:36:11 +01:00
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_NOTIFICATION_H */
|