"Fossies" - the Fresh Open Source Software Archive

Member "dovecot-2.3.8/src/plugins/push-notification/push-notification-event-messagenew.h" (8 Oct 2019, 1040 Bytes) of package /linux/misc/dovecot-2.3.8.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "push-notification-event-messagenew.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 2.3.7.2_vs_2.3.8.

    1 /* Copyright (c) 2015-2018 Dovecot authors, see the included COPYING file */
    2 
    3 #ifndef PUSH_NOTIFICATION_EVENT_MESSAGENEW_H
    4 #define PUSH_NOTIFICATION_EVENT_MESSAGENEW_H
    5 
    6 
    7 #include "push-notification-event-message-common.h"
    8 
    9 
   10 struct push_notification_event_messagenew_config {
   11     enum push_notification_event_message_flags flags;
   12 };
   13 
   14 struct push_notification_event_messagenew_data {
   15     /* PUSH_NOTIFICATION_MESSAGE_HDR_FROM */
   16     const char *from;
   17     /* PUSH_NOTIFICATION_MESSAGE_HDR_TO */
   18     const char *to;
   19     /* PUSH_NOTIFICATION_MESSAGE_HDR_SUBJECT */
   20     const char *subject;
   21     /* PUSH_NOTIFICATION_MESSAGE_HDR_DATE */
   22     time_t date;
   23     int date_tz;
   24     /* PUSH_NOTIFICATION_MESSAGE_BODY_SNIPPET */
   25     const char *snippet;
   26     /* PUSH_NOTIFICATION_MESSAGE_FLAGS */
   27     bool flags_set;
   28     enum mail_flags flags;
   29     /* PUSH_NOTIFICATION_MESSAGE_KEYWORDS */
   30     const char *const *keywords;
   31     /* PUSH_NOTIFICATION_MESSAGE_HDR_MESSAGE_ID */
   32     const char *message_id;
   33 };
   34 
   35 
   36 #endif  /* PUSH_NOTIFICATION_EVENT_MESSAGENEW_H */
   37