]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
push-notification: Add event category
authorAki Tuomi <aki.tuomi@dovecot.fi>
Mon, 15 Oct 2018 08:55:41 +0000 (11:55 +0300)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Wed, 14 Nov 2018 12:14:02 +0000 (14:14 +0200)
src/plugins/push-notification/push-notification-plugin.c
src/plugins/push-notification/push-notification-plugin.h

index 067d9a9a076c18af8526f95ccb41fec0c730b6b8..e867af2e0de5c06474fc23d29ee041e2e5792c1b 100644 (file)
@@ -27,6 +27,10 @@ static MODULE_CONTEXT_DEFINE_INIT(push_notification_user_module,
                                   &mail_user_module_register);
 static struct ioloop *main_ioloop;
 
+struct event_category event_category_push_notification = {
+       .name = "push_notification",
+};
+
 static void
 push_notification_transaction_init(struct push_notification_txn *ptxn)
 {
index da21a31d632c747c6ef4c96ed46d0f7901107002..1d88ba71e499df799c585b358ef5e8ae16f86d92 100644 (file)
@@ -4,6 +4,7 @@
 #define PUSH_NOTIFICATION_PLUGIN_H
 
 extern const char *push_notification_plugin_dependencies[];
+extern struct event_category event_category_push_notification;
 
 struct module;