From: Aki Tuomi Date: Mon, 15 Oct 2018 08:55:41 +0000 (+0300) Subject: push-notification: Add event category X-Git-Tag: 2.3.4~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=611fefa13b640ef9ade42a3eed511c97f88e3924;p=thirdparty%2Fdovecot%2Fcore.git push-notification: Add event category --- diff --git a/src/plugins/push-notification/push-notification-plugin.c b/src/plugins/push-notification/push-notification-plugin.c index 067d9a9a07..e867af2e0d 100644 --- a/src/plugins/push-notification/push-notification-plugin.c +++ b/src/plugins/push-notification/push-notification-plugin.c @@ -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) { diff --git a/src/plugins/push-notification/push-notification-plugin.h b/src/plugins/push-notification/push-notification-plugin.h index da21a31d63..1d88ba71e4 100644 --- a/src/plugins/push-notification/push-notification-plugin.h +++ b/src/plugins/push-notification/push-notification-plugin.h @@ -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;