Lines Matching refs:events
59 if ((rec->events & MAILBOX_LIST_NOTIFY_UIDVALIDITY) != 0) {
63 if ((rec->events & (MAILBOX_LIST_NOTIFY_APPENDS |
66 if ((rec->events & MAILBOX_LIST_NOTIFY_SEEN_CHANGES) != 0)
68 if ((rec->events & MAILBOX_LIST_NOTIFY_MODSEQ_CHANGES) != 0) {
94 if ((rec->events & MAILBOX_LIST_NOTIFY_CREATE) != 0) {
101 if ((rec->events & MAILBOX_LIST_NOTIFY_DELETE) != 0) {
105 if ((rec->events & MAILBOX_LIST_NOTIFY_RENAME) != 0) {
112 if ((rec->events & MAILBOX_LIST_NOTIFY_SUBSCRIBE) != 0) {
120 if ((rec->events & MAILBOX_LIST_NOTIFY_UNSUBSCRIBE) != 0) {
127 if ((rec->events & (MAILBOX_LIST_NOTIFY_UIDVALIDITY |
143 enum imap_notify_event wanted_events = notify_boxes->events;
146 /* check for mailbox list events first */
148 if ((rec->events & (MAILBOX_LIST_NOTIFY_CREATE |
154 if ((rec->events & (MAILBOX_LIST_NOTIFY_SUBSCRIBE |
167 if ((rec->events & MAILBOX_LIST_NOTIFY_UIDVALIDITY) != 0)
171 if ((rec->events & MAILBOX_LIST_NOTIFY_APPENDS) != 0)
175 if ((rec->events & MAILBOX_LIST_NOTIFY_EXPUNGES) != 0)
179 if ((rec->events & (MAILBOX_LIST_NOTIFY_SEEN_CHANGES |
306 "* NO NOTIFY error, some events may have got lost");
359 imap_events_to_notify(enum imap_notify_event events)
363 if ((events & IMAP_NOTIFY_EVENT_MESSAGE_NEW) != 0) {
367 if ((events & IMAP_NOTIFY_EVENT_MESSAGE_EXPUNGE) != 0) {
371 if ((events & IMAP_NOTIFY_EVENT_FLAG_CHANGE) != 0) {
376 if ((events & IMAP_NOTIFY_EVENT_MAILBOX_NAME) != 0) {
381 if ((events & IMAP_NOTIFY_EVENT_SUBSCRIPTION_CHANGE) != 0) {
477 imap_events_to_notify(notify_boxes->events);