Searched defs:changes (Results 1 - 25 of 25) sorted by relevance

/dovecot/src/lib-dict/
H A Ddict-transaction-memory.h24 ARRAY(struct dict_transaction_memory_change) changes; member in struct:dict_transaction_memory_context
H A Ddict-memcached-ascii.c603 const struct dict_transaction_memory_change *changes; local
610 changes = array_get(&ctx->memctx->changes, &count);
615 memcached_send_change(ctx, &changes[i]);
/dovecot/src/lib-storage/index/
H A Dindex-sync-search.c16 /* search result doesn't care about flag changes */
23 const ARRAY_TYPE(seq_range) *changes)
28 array_foreach(changes, range) {
22 index_sync_uidify_array(struct index_mailbox_sync_context *ctx, const ARRAY_TYPE(seq_range) *changes) argument
/dovecot/src/plugins/push-notification/
H A Dpush-notification-txn-msg.c41 struct mail_transaction_commit_changes *changes)
56 seq_range_array_iter_init(&siter, &changes->saved_uids);
58 /* uid_validity is only set in changes if message is new. */
59 if (changes->uid_validity == 0) {
63 uid_validity = changes->uid_validity;
40 push_notification_txn_msg_end(struct push_notification_txn *ptxn, struct mail_transaction_commit_changes *changes) argument
H A Dpush-notification-plugin.c103 (void *txn, struct mail_transaction_commit_changes *changes)
112 if (changes == NULL) {
115 push_notification_txn_msg_end(ptxn, changes);
102 push_notification_transaction_commit(void *txn, struct mail_transaction_commit_changes *changes) argument
/dovecot/src/imap/
H A Dcmd-copy.c118 struct mail_transaction_commit_changes changes; local
150 else if (mailbox_transaction_commit_get_changes(&t, &changes) < 0) {
160 pool_unref(&changes.pool);
161 } else if (seq_range_count(&changes.saved_uids) == 0 ||
162 changes.no_read_perm) {
167 pool_unref(&changes.pool);
169 i_assert(copy_count == seq_range_count(&changes.saved_uids));
173 changes.uid_validity, src_uidset);
174 imap_write_seq_range(msg, &changes.saved_uids);
180 pool_unref(&changes
[all...]
H A Dcmd-append.c636 struct mail_transaction_commit_changes changes; local
655 ret = mailbox_transaction_commit_get_changes(&ctx->t, &changes);
663 save_count = seq_range_count(&changes.saved_uids);
664 if (save_count == 0 || changes.no_read_perm) {
670 changes.uid_validity);
671 imap_write_seq_range(msg, &changes.saved_uids);
675 pool_unref(&changes.pool);
/dovecot/src/lib-storage/index/imapc/
H A Dimapc-save.c310 struct mail_transaction_commit_changes *changes = local
311 _ctx->transaction->changes;
322 changes->uid_validity = ctx->dest_uid_validity;
323 array_append_array(&changes->saved_uids, &ctx->dest_saved_uids);
H A Dimapc-sync.c489 bool changes; local
515 if (imapc_mailbox_commit_delayed_trans(ctx->mbox, &changes) < 0)
550 /* do NOOP to make sure we have the latest changes before
553 have the latest changes (IDLE is started with a small delay,
564 bool changes; local
582 if (imapc_mailbox_commit_delayed_trans(mbox, &changes) < 0)
584 if ((changes || mbox->sync_fetch_first_uid != 0 ||
H A Dimapc-storage.c775 bool changes; local
777 (void)imapc_mailbox_commit_delayed_trans(mbox, &changes);
1153 don't notice changes immediately, we'll force them to check
1161 check for changes with NOOP every once in a while. */
/dovecot/src/plugins/notify/
H A Dnotify-plugin.c127 struct mail_transaction_commit_changes *changes)
137 ctx->v.mail_transaction_commit(mail_txn->txn, changes);
126 notify_contexts_mail_transaction_commit(struct mailbox_transaction_context *t, struct mail_transaction_commit_changes *changes) argument
/dovecot/src/plugins/replication/
H A Dreplication-plugin.c255 replication_want_sync_changes(const struct mail_transaction_commit_changes *changes) argument
257 /* Replication needs to be triggered on all the user-visible changes,
259 return (changes->changes_mask &
265 struct mail_transaction_commit_changes *changes)
274 (ctx->new_messages || replication_want_sync_changes(changes))) {
264 replication_mail_transaction_commit(void *txn, struct mail_transaction_commit_changes *changes) argument
/dovecot/src/config/
H A Dconfig-filter.c190 const unsigned char *changes; local
198 changes = settings_parser_get_changes(parser->parsers[i].parser);
201 if (changes[j] != 0)
358 /* apply the changes from rest of the matches */
/dovecot/src/doveadm/dsync/
H A Ddsync-transaction-log-scan.c13 HASH_TABLE_TYPE(dsync_uid_mail_change) changes;
40 change = hash_table_lookup(ctx->changes, POINTER_CAST(uid));
46 hash_table_insert(ctx->changes, POINTER_CAST(uid), change);
48 /* expunge overrides flag changes */
214 const char *const *changes; local
217 changes = array_get(&change->keyword_changes, &count);
219 if (strcmp(changes[i]+1, name) == 0) {
364 if there are more changes, we don't care about them until
401 /* we didn't see all the changes that we wanted to */
439 /* ignore changes don
[all...]
H A Ddsync-mailbox-export.c45 HASH_TABLE(void *, struct dsync_mail_change *) changes; member in struct:dsync_mailbox_exporter
46 /* changes sorted by UID */
93 const char *const *changes; local
98 changes = array_get(&change->keyword_changes, &count);
100 if (strcmp(changes[i]+1, name) != 0)
103 switch (changes[i][0]) {
197 change = hash_table_lookup(exporter->changes, POINTER_CAST(mail->uid));
206 hash_table_insert(exporter->changes,
237 change = hash_table_lookup(exporter->changes, POINTER_CAST(uid));
241 hash_table_insert(exporter->changes, POINTER_CAS
705 struct dsync_mail_change *const *changes; local
[all...]
H A Ddsync-mailbox-tree-sync.c33 ARRAY(struct dsync_mailbox_tree_sync_change) changes; member in struct:dsync_mailbox_tree_sync_ctx
96 change = array_append_space(&ctx->changes);
110 change = array_append_space(&ctx->changes);
172 change = array_append_space(&ctx->changes);
434 change = array_append_space(&ctx->changes);
506 change = array_append_space(&ctx->changes);
1414 i_array_init(&ctx->changes, 128);
1460 if (ctx->change_idx == array_count(&ctx->changes))
1462 return array_idx(&ctx->changes, ctx->change_idx++);
1472 array_free(&ctx->changes);
[all...]
H A Ddsync-ibc-stream.c1675 const char *const *changes; local
1678 changes = array_get(&change->keyword_changes, &count);
1679 str_append_tabescaped(kw_str, changes[0]);
1682 str_append_tabescaped(kw_str, changes[i]);
1789 const char *const *changes = t_strsplit_tabescaped(value); local
1790 unsigned int i, count = str_array_length(changes);
1794 value = p_strdup(pool, changes[i]);
H A Ddsync-mailbox-import.c1070 const char *const *changes, *name, *const *local_keywords;
1077 the changes to separate bit arrays. */
1079 changes = array_get(remote_changes, &count);
1081 changes = NULL;
1107 /* get remote changes */
1109 name = changes[i]+1;
1113 switch (changes[i][0]) {
1130 /* get local changes. use existing indexes for names when they exist. */
1132 changes = array_get(local_changes, &count);
1134 changes
1207 const char *const *changes, *name; local
2307 const char *const *changes; local
2741 struct mail_transaction_commit_changes changes; local
[all...]
/dovecot/src/lib-index/
H A Dmail-cache-transaction.c51 bool changes:1; member in struct:mail_cache_transaction_ctx
136 ctx->changes = FALSE;
239 the changes in index. try if refreshing index helps.
422 /* we had done some changes, but they were aborted. */
558 ctx->changes = TRUE;
566 if (ctx->changes) {
694 /* we wrote all the headers, so there are no pending changes */
769 look into transactions to see changes. */
/dovecot/src/lib-lda/
H A Dmail-deliver.c315 struct mail_transaction_commit_changes changes; local
371 ret = mailbox_transaction_commit_get_changes(&t, &changes);
380 i_assert(array_count(&changes.saved_uids) == 1);
382 array_idx(&changes.saved_uids, 0);
394 pool_unref(&changes.pool);
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-sync-index.c7 #include "index-sync-changes.h"
126 /* apply changes */
176 expunged messages and committed changes to index. so, this message
379 /* no changes - we should get here usually */
462 unsigned int changes = 0; local
578 if ((++changes % MAILDIR_SLOW_MOVE_COUNT) == 0)
587 /* apply flag changes to maildir */
591 if ((++changes % MAILDIR_SLOW_MOVE_COUNT) == 0)
608 record's flag changes. don't sync them. */
/dovecot/src/lib-storage/list/
H A Dmailbox-list-index-status.c455 struct index_list_changes *changes)
462 mail_index_lookup_ext(list_view, changes->seq,
469 mail_index_lookup_uid(box->view, 1, &changes->first_uid);
473 changes->first_saved_changed = box->update_first_saved;
475 changes->first_saved_changed =
476 changes->first_uid != first_saved.uid;
482 struct index_list_changes *changes)
491 (void)mailbox_list_index_status(box->list, list_view, changes->seq,
495 changes->rec_changed =
496 old_status.uidvalidity != changes
453 index_list_first_saved_update_changes(struct mailbox *box, struct mail_index_view *list_view, struct index_list_changes *changes) argument
481 index_list_has_changed(struct mailbox *box, struct mail_index_view *list_view, struct index_list_changes *changes) argument
528 index_list_update_first_saved(struct mailbox *box, struct mail_index_transaction *list_trans, const struct index_list_changes *changes) argument
571 index_list_update(struct mailbox *box, struct mail_index_view *list_view, struct mail_index_transaction *list_trans, const struct index_list_changes *changes) argument
627 struct index_list_changes changes; local
708 struct index_list_changes changes; local
[all...]
/dovecot/src/plugins/mail-log/
H A Dmail-log-plugin.c443 struct mail_transaction_commit_changes *changes)
452 seq_range_array_iter_init(&iter, &changes->saved_uids);
442 mail_log_mail_transaction_commit(void *txn, struct mail_transaction_commit_changes *changes) argument
/dovecot/src/lib-storage/
H A Dmail-storage-private.h267 flag/keyword changes. Once the sync is finished, called with
599 /* view contains all changes done within this transaction */
609 struct mail_transaction_commit_changes *changes; member in struct:mailbox_transaction_context
683 /* data that changes for each saved mail */
H A Dmail-storage.c1570 /* Avoid race conditions by keeping mailbox list locked during changes.
1717 /* FIXME: should be a parameter to delete(), but since it changes API
2217 struct mail_transaction_commit_changes changes; local
2220 /* Store changes temporarily so that plugins overriding
2222 ret = mailbox_transaction_commit_get_changes(t, &changes);
2223 pool_unref(&changes.pool);

Completed in 6304 milliseconds