summaryrefslogtreecommitdiffstats
path: root/src/plugins/push-notification/push-notification-event-flagsclear.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/push-notification/push-notification-event-flagsclear.h')
-rw-r--r--src/plugins/push-notification/push-notification-event-flagsclear.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/plugins/push-notification/push-notification-event-flagsclear.h b/src/plugins/push-notification/push-notification-event-flagsclear.h
new file mode 100644
index 0000000..5412335
--- /dev/null
+++ b/src/plugins/push-notification/push-notification-event-flagsclear.h
@@ -0,0 +1,22 @@
+/* Copyright (c) 2015-2018 Dovecot authors, see the included COPYING file */
+
+#ifndef PUSH_NOTIFICATION_EVENT_FLAGSCLEAR_H
+#define PUSH_NOTIFICATION_EVENT_FLAGSCLEAR_H
+
+#include "mail-types.h"
+
+struct push_notification_event_flagsclear_config {
+ /* Store the old flags/keywords? */
+ bool store_old;
+};
+
+struct push_notification_event_flagsclear_data {
+ enum mail_flags flags_clear;
+ ARRAY_TYPE(keywords) keywords_clear;
+
+ enum mail_flags flags_old;
+ ARRAY_TYPE(keywords) keywords_old;
+};
+
+#endif
+