mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
plugin: Add subscriptions when processing the plugin manifest
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
13
lightningd/notification.c
Normal file
13
lightningd/notification.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "lightningd/notification.h"
|
||||
#include <ccan/array_size/array_size.h>
|
||||
|
||||
const char *notification_topics[] = {
|
||||
};
|
||||
|
||||
bool notifications_have_topic(const char *topic)
|
||||
{
|
||||
for (size_t i=0; ARRAY_SIZE(notification_topics); i++)
|
||||
if (streq(topic, notification_topics[i]))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user