Searched refs:messages (Results 1 - 25 of 33) sorted by relevance

12

/dovecot/src/plugins/push-notification/
H A Dpush-notification-txn-msg.c18 if (hash_table_is_created(txn->messages)) {
19 msg = hash_table_lookup(txn->messages,
22 hash_table_create_direct(&txn->messages, txn->pool, 4);
32 hash_table_insert(txn->messages, POINTER_CAST(txn->t->save_count + 1),
51 if (!hash_table_is_created(ptxn->messages)) {
55 hiter = hash_table_iterate_init(ptxn->messages);
66 while (hash_table_iterate(hiter, ptxn->messages, &key, &value)) {
84 hash_table_destroy(&ptxn->messages);
H A Dpush-notification-drivers.h102 HASH_TABLE_TYPE(push_notification_msgs) messages; member in struct:push_notification_txn
/dovecot/src/lib-storage/list/
H A Dmailbox-list-notify-tree.h14 uint32_t messages; member in struct:mailbox_notify_node
H A Dmailbox-list-notify-tree.c35 nnode->messages = status.messages;
H A Dmailbox-list-index-status.c158 status_r->messages = rec->messages;
270 if (ret > 0 && status.messages == 0 && status.uidnext > 0) {
275 vsize.message_count != status.messages)) {
312 status.messages != 0)
427 changes_r->status.messages = hdr->messages_count;
508 old_status.messages != changes->status.messages ||
599 msgs.messages = changes->status.messages;
[all...]
H A Dmailbox-list-index.h73 uint32_t messages; member in struct:mailbox_list_index_msgs_record
H A Dmailbox-list-index-notify.c84 if (nnode->messages > status->messages) {
104 nnode->messages = status->messages;
/dovecot/src/imap/
H A Dimap-state.c40 uint32_t uidvalidity, uidnext, messages; member in struct:mailbox_import_state
107 messages have been expunged in the mean time. */
240 numpack_encode(dest, status.messages);
347 if (state->messages == 0) {
383 expunged_uid < mail->uid && seq < state->messages) {
389 if (seq == state->messages)
392 if (++seq == state->messages)
396 seq < state->messages) {
406 } else if (seq != state->messages) {
409 seq, state->messages);
[all...]
H A Dimap-status.c116 str_printfa(str, "MESSAGES %u ", status->messages);
H A Dcmd-select.c308 client->messages_count = status.messages;
317 t_strdup_printf("* %u EXISTS", status.messages));
H A Dimap-sync.c27 /* since we have to notify about expunged messages,
73 /* find the newly appended messages: ctx->messages_count is the message
74 count before new messages found by sync, client->messages_count is
75 the number of messages after. */
80 /* remove messages not in the search_adds list */
206 it now contains expunged messages that must be sent before
299 if (ctx->status.messages < ctx->messages_count)
301 if (ctx->status.messages != ctx->messages_count &&
304 t_strdup_printf("* %u EXISTS", ctx->status.messages));
312 client->messages_count = ctx->status.messages;
[all...]
/dovecot/src/doveadm/
H A Ddoveadm-mail-index.c56 if (seq > status.messages) {
65 mailbox_get_vname(box), seq, status.messages);
71 mail_search_build_add_seqset(search_args, seq, status.messages);
76 max = status.messages - seq + 1;
112 /* index only if there aren't too many recent messages.
H A Ddoveadm-mail-mailbox-status.c54 } else if (strcmp(field, "messages") == 0)
95 doveadm_print_num(status->messages);
121 dest->messages += status->messages;
203 doveadm_print_header_simple("messages");
H A Ddoveadm-dump-index.c85 uint32_t messages; member in struct:mailbox_list_index_msgs_record
139 printf("messages count ........... = %u\n", hdr->messages_count);
140 printf("seen messages count ...... = %u\n", hdr->seen_messages_count);
141 printf("deleted messages count ... = %u\n", hdr->deleted_messages_count);
714 printf(" : messages = %u\n", lrec->messages);
/dovecot/src/lib-storage/
H A Dmail-autoexpunge.c75 if (interval_time == 0 && status.messages <= max_mails)
78 if (max_mails == 0 || status.messages <= max_mails) {
H A Dmail-storage.h123 Expunged messages are removed even without this flag. */
190 /* Always assign UIDs to messages when saving/copying. Normally this
250 uint32_t messages; /* STATUS_MESSAGES */ member in struct:mailbox_status
300 /* sum of virtual size of all messages in mailbox */
302 /* sum of physical size of all messages in mailbox */
338 /* UIDs assigned to saved messages. Not necessarily ascending.
666 /* When committing transaction, drop flag/keyword updates for messages whose
667 modseq is larger than max_modseq. Save those messages' sequences to the
685 /* Get list of messages' that have been expunged after prev_modseq and that
704 /* Initialize new search request. If sort_program is non-NULL, the messages ar
[all...]
/dovecot/src/plugins/mail-log/
H A Dmail-log-plugin.c94 struct mail_log_message *messages, *messages_tail; member in struct:mail_log_mail_txn_context
309 DLLIST2_APPEND(&ctx->messages, &ctx->messages_tail, msg);
320 DLLIST2_APPEND(&ctx->messages, &ctx->messages_tail, msg);
453 for (msg = ctx->messages; msg != NULL; msg = msg->next) {
/dovecot/src/plugins/virtual/
H A Dvirtual-sync.c35 /* messages expunged within this sync */
40 /* all messages in this sync, sorted by mailbox_id
473 /* mark the newly seen messages as recent */
562 /* remove the unwanted messages */
608 /* fast path: usually messages are appended */
741 uint32_t i, vseq, messages; local
743 /* find the messages that currently exist in virtual index and add them
749 sync_mails = array_get(&ctx->all_mails, &messages);
750 for (i = ctx->all_mails_idx; i < messages; i++) {
771 messages
1296 uint32_t i, vseq, vuid, messages; local
1623 uint32_t messages, vseq; local
[all...]
/dovecot/src/indexer/
H A Dmaster-connection.c89 mail_search_build_add_seqset(search_args, seq, status.messages);
94 max = status.messages + 1 - seq;
126 " (attempted to index %u messages%s)",
132 i_info("Indexed %u messages in %s%s",
169 /* index only if there aren't too many recent messages.
/dovecot/src/lib-storage/index/
H A Dindex-status.c100 /* if shared index has any messages that don't exist in private index,
118 status_r->messages = hdr->messages_count;
131 i_assert(status_r->recent <= status_r->messages);
301 /* all messages were expunged after all */
H A Dindex-mailbox-size.c101 /* some messages have been expunged, rescan */
367 update->vsize_hdr.message_count == status.messages) {
H A Dindex-search.c866 /* remove all nonexistent messages */
873 /* if all messages are in the range, it can't match */
900 /* matches all messages */
1088 /* no messages, don't check sequence ranges. although we could
1295 ctx->mail_ctx.progress_max = status.messages;
1320 search_get_seqset(ctx, status.messages, args->args);
1602 messages match */
1826 /* finished searching the messages. now sort them and start
1827 returning the messages. */
/dovecot/src/plugins/notify-status/
H A Dnotify-status-plugin.c20 #define NOTIFY_STATUS_SETTING_VALUE_TEMPLATE_DEFAULT "{\"messages\":%{messages},\"unseen\":%{unseen}}"
163 { '\0', dec2str(status.messages), "messages" },
/dovecot/src/plugins/quota/
H A Dquota-count.c78 *count += status.messages;
/dovecot/src/doveadm/dsync/
H A Ddsync-brain-mailbox.c430 i_assert(status.uidvalidity != 0 || status.messages == 0);
437 dsync_box_r->messages_count = status.messages;
518 "uidvalidity=%u uidnext=%u highestmodseq=%"PRIu64" highestpvtmodseq=%"PRIu64" messages=%u",
711 messages. If they equal, use the higher UIDVALIDITY. */

Completed in 2830 milliseconds

12