/dovecot/src/plugins/push-notification/ |
H A D | push-notification-event-mailboxrename.c | 8 #include "push-notification-event-mailboxrename.h" 16 (struct push_notification_txn_event *event) 18 struct push_notification_event_mailboxrename_data *data = event->data; 15 push_notification_event_mailboxrename_debug_mbox(struct push_notification_txn_event *event) argument
|
H A D | push-notification-event-messageexpunge.c | 8 #include "push-notification-event-messageexpunge.h" 17 (struct push_notification_txn_event *event) 19 struct push_notification_event_messageexpunge_data *data = event->data; 16 push_notification_event_messageexpunge_debug_msg(struct push_notification_txn_event *event) argument
|
H A D | push-notification-driver-dlog.c | 32 const struct push_notification_event *const *event; local 36 array_foreach(&push_notification_events, event) { 37 push_notification_event_init(dtxn, (*event)->name, NULL); 47 struct push_notification_txn_event *const *event; local 54 array_foreach(&mbox->eventdata, event) { 55 if ((*event)->event->event->mbox.debug_mbox != NULL) { 56 (*event)->event 66 struct push_notification_txn_event *const *event; local [all...] |
H A D | push-notification-event-messageappend.c | 11 #include "push-notification-event-message-common.h" 12 #include "push-notification-event-messageappend.h" 29 (struct push_notification_txn_event *event) 31 struct push_notification_event_messageappend_data *data = event->data; 28 push_notification_event_messageappend_debug_msg(struct push_notification_txn_event *event) argument
|
H A D | push-notification-txn-mbox.c | 48 if (strcmp((*mevent)->event->event->name, event_name) == 0) { 60 struct push_notification_event_config *event, 71 mevent->event = event; 85 ((*mevent)->event->event->mbox.free_mbox != NULL)) { 86 (*mevent)->event->event->mbox.free_mbox(*mevent); 58 push_notification_txn_mbox_set_eventdata(struct push_notification_txn *txn, struct push_notification_txn_mbox *mbox, struct push_notification_event_config *event, void *data) argument
|
H A D | push-notification-event-messagenew.c | 14 #include "push-notification-event-message-common.h" 15 #include "push-notification-event-messagenew.h" 32 (struct push_notification_txn_event *event) 34 struct push_notification_event_messagenew_data *data = event->data; 31 push_notification_event_messagenew_debug_msg(struct push_notification_txn_event *event) argument
|
H A D | push-notification-events.c | 49 const struct push_notification_event *event; local 56 event = push_notification_event_find_class(event_name); 57 if (event != NULL) { 59 (event->init.default_config != NULL)) { 60 config = event->init.default_config(); 65 ec->event = event; 72 (const struct push_notification_event *event) 80 if (push_notification_event_find(event->name, &idx)) { 81 i_panic("push_notification_event_register(%s): duplicate event", 71 push_notification_event_register(const struct push_notification_event *event) argument 88 push_notification_event_unregister(const struct push_notification_event *event) argument [all...] |
H A D | push-notification-event-flagsclear.c | 10 #include "push-notification-event-flagsclear.h" 27 (struct push_notification_txn_event *event) 29 struct push_notification_event_flagsclear_data *data = event->data; 149 struct push_notification_txn_event *event) 151 struct push_notification_event_flagsclear_data *data = event->data; 26 push_notification_event_flagsclear_debug_msg(struct push_notification_txn_event *event) argument 148 push_notification_event_flagsclear_free_msg( struct push_notification_txn_event *event) argument
|
H A D | push-notification-event-flagsset.c | 10 #include "push-notification-event-flagsset.h" 27 (struct push_notification_txn_event *event) 29 struct push_notification_event_flagsset_data *data = event->data; 147 struct push_notification_txn_event *event) 149 struct push_notification_event_flagsset_data *data = event->data; 26 push_notification_event_flagsset_debug_msg(struct push_notification_txn_event *event) argument 146 push_notification_event_flagsset_free_msg( struct push_notification_txn_event *event) argument
|
H A D | push-notification-txn-msg.c | 95 if (strcmp((*mevent)->event->event->name, event_name) == 0) { 107 struct push_notification_event_config *event, 118 mevent->event = event; 131 ((*mevent)->event->event->msg.free_msg != NULL)) { 132 (*mevent)->event->event->msg.free_msg(*mevent); 105 push_notification_txn_msg_set_eventdata(struct push_notification_txn *txn, struct push_notification_txn_msg *msg, struct push_notification_event_config *event, void *data) argument
|
H A D | push-notification-events.h | 18 /* Return the default config for an event (or NULL if config is 24 /* Output debug information about a message event. */ 25 void (*debug_mbox)(struct push_notification_txn_event *event); 27 void (*free_mbox)(struct push_notification_txn_event *event); 31 /* Mailbox event: create mailbox. */ 35 /* Mailbox event: delete mailbox. */ 39 /* Mailbox event: rename mailbox. */ 44 /* Mailbox event: subscribe mailbox. */ 48 /* Mailbox event: unsubscribe mailbox. */ 55 /* Output debug information about a message event 91 const struct push_notification_event *event; member in struct:push_notification_event_config 105 struct push_notification_event_config *event; member in struct:push_notification_txn_event [all...] |
/dovecot/src/stats/ |
H A D | stats-event-category.c | 4 #include "stats-event-category.h" 16 /* Create a temporary event to register the category. A bit slower 18 struct event *event = event_create(NULL); local 20 event_add_categories(event, categories); 21 event_unref(&event);
|
H A D | stats-metrics.c | 7 #include "event-filter.h" 23 /* generate fields for event filter */ 41 /* add query to the event filter */ 145 stats_metric_event(struct metric *metric, struct event *event) argument 150 if (event_get_last_send_time(event, &tv_end)) { 151 event_get_create_time(event, &tv_start); 158 event_find_field(event, metric->fields[i].field_key); 178 void stats_metrics_event(struct stats_metrics *metrics, struct event *event) argument [all...] |
H A D | client-writer.c | 8 #include "lib-event-private.h" 9 #include "event-filter.h" 13 #include "stats-event-category.h" 22 struct event *event; member in struct:stats_event 45 static unsigned int stats_event_hash(const struct stats_event *event) argument 47 return (unsigned int)event->id; 73 struct stats_event *event, *next; local 75 for (event = client->events; event ! 114 struct event *event = event_create(parent_event); local 128 struct event *event; local 145 struct event *event; local [all...] |
/dovecot/src/lib/ |
H A D | ioloop-kqueue.c | 17 #include <sys/event.h> 114 const struct kevent *event; local 156 event = array_idx(&ctx->events, i); 157 io = (void *)event->udata;
|
H A D | event-log.c | 5 #include "event-filter.h" 6 #include "lib-event-private.h" 12 void e_error(struct event *event, argument 24 event_logv(event, ¶ms, fmt, args); 29 void e_warning(struct event *event, argument 41 event_logv(event, ¶ms, fmt, args); 46 void e_info(struct event *event, argument 63 e_debug(struct event *event, const char *source_filename, unsigned int source_linenum, const char *fmt, ...) argument 79 event_get_log_prefix(struct event *event, string_t *log_prefix, bool *replace_prefix) argument 100 event_log(struct event *event, const struct event_log_params *params, const char *fmt, ...) argument 111 event_want_debug_log(struct event *event, const char *source_filename, unsigned int source_linenum) argument 122 event_want_debug(struct event *event, const char *source_filename, unsigned int source_linenum) argument 140 event_logv_type(struct event *event, enum log_type log_type, const char *fmt, va_list args) argument 166 event_logv(struct event *event, const struct event_log_params *params, const char *fmt, va_list args) argument 184 event_set_forced_debug(struct event *event, bool force) argument [all...] |
H A D | ioloop-epoll.c | 89 struct epoll_event event; local 99 i_zero(&event); 100 event.data.ptr = *list; 101 event.events = epoll_event_mask(*list); 105 if (epoll_ctl(ctx->epfd, op, io->fd, &event) < 0) { 130 struct epoll_event event; local 138 i_zero(&event); 139 event.data.ptr = *list; 140 event.events = epoll_event_mask(*list); 144 if (epoll_ctl(ctx->epfd, op, io->fd, &event) < 167 const struct epoll_event *event; local [all...] |
H A D | ioloop-notify-inotify.c | 37 const struct inotify_event *event; local 58 if ((size_t)(ret - pos) < sizeof(*event)) 61 event = (struct inotify_event *)(event_buf + pos); 62 i_assert(event->len < (size_t)ret); 63 pos += sizeof(*event) + event->len; 65 io = io_notify_fd_find(&ctx->fd_ctx, event->wd); 67 if ((event->mask & IN_IGNORED) != 0) { 76 i_error("read(inotify) returned partial event"); 141 kernel has sent IN_IGNORED event whic [all...] |
H A D | lib-event-private.h | 4 struct event { struct 7 struct event *prev, *next; 11 struct event *parent; 22 /* Call callbacks with EVENT_CALLBACK_TYPE_FREE for this event. */ 32 /* This is the event's name while it's being sent. It'll be removed 33 after the event is sent. */ 47 /* Returns TRUE if the event should continue to the next handler. Unless 48 stopped, the final handler logs the event if it matches the log filter. */ 49 typedef bool event_callback_t(struct event *event, [all...] |
H A D | lib-event.h | 3 /* event.h name is probably a bit too generic, so lets avoid using it. */ 7 struct event; 9 /* Hierarchical category of events. Each event can belong to multiple 16 /* TRUE after an event with this category is sent the first time */ 47 event_create_passthrough(parent)->name("name")->...->event() */ 73 struct event *(*event)(void); member in struct:event_passthrough 76 /* Create a new empty event under the parent event, or NULL for root event [all...] |
/dovecot/src/lib-master/ |
H A D | stats-client.c | 8 #include "lib-event-private.h" 9 #include "event-filter.h" 104 struct event *event; local 108 for (event = events_get_head(); event != NULL; event = event->next) 109 event->id_sent_to_stats = FALSE; 153 static struct event *stats_event_get_paren argument 170 stats_event_write(struct event *event, string_t *str, bool begin) argument 197 stats_client_send_event(struct stats_client *client, struct event *event) argument 208 stats_client_free_event(struct stats_client *client, struct event *event) argument 217 stats_event_callback(struct event *event, enum event_callback_type type, struct failure_context *ctx ATTR_UNUSED, const char *fmt ATTR_UNUSED, va_list args ATTR_UNUSED) argument [all...] |
/dovecot/src/lib-storage/ |
H A D | mail-user.h | 33 struct event *event; member in struct:mail_user 125 struct mail_user *mail_user_alloc(struct event *parent_event, 130 mail_user_alloc_nodup_set(struct event *parent_event,
|
/dovecot/src/plugins/replication/ |
H A D | replication-plugin.c | 184 const char *event) 194 event, priority); 182 replication_notify(struct mail_namespace *ns, enum replication_priority priority, const char *event) argument
|
/dovecot/src/imap/ |
H A D | cmd-notify.c | 58 enum imap_notify_event event; local 74 return -1; /* at least one event */ 77 if (cmd_notify_parse_event(list, &event) < 0) 79 ctx->selected_events |= event; 80 ctx->global_used_events |= event; 82 if (event == IMAP_NOTIFY_EVENT_MESSAGE_NEW && 294 enum imap_notify_event event, event_mask; local 358 if (cmd_notify_parse_event(list, &event) < 0) 360 event_mask |= event; 361 ctx->global_used_events |= event; [all...] |
H A D | main.c | 245 struct event *event; local 248 event = event_create(NULL); 249 event_add_category(event, &event_category_imap); 250 event_add_fields(event, (const struct event_add_field []){ 257 service_input.parent_event = event; 260 event_unref(&event); 279 event_unref(&event); 284 event, mail_user, user, imap_set, smtp_set); 287 event_unref(&event); [all...] |