/dovecot/src/imap/ |
H A D | cmd-cancelupdate.c | 9 struct imap_search_update *update; local 12 update = client_search_update_lookup(client, tag, &idx); 13 if (update == NULL) 16 imap_search_update_free(update);
|
H A D | imap-search.c | 50 ctx->fetch_pool = pool_alloconly_create("search update fetch", 512); 131 client_send_command_error(cmd, "Duplicate search update tag"); 171 struct imap_search_update *update; local 191 update = array_append_space(&client->search_updates); 192 update->tag = i_strdup(ctx->cmd->tag); 193 update->result = result; 194 update->return_uids = ctx->cmd->uid; 195 update->fetch_pool = ctx->fetch_pool; 196 update->fetch_ctx = ctx->fetch_ctx; 654 void imap_search_update_free(struct imap_search_update *update) argument [all...] |
/dovecot/src/doveadm/dsync/ |
H A D | dsync-brain-mailbox-tree-sync.c | 15 struct mailbox_update update; local 20 i_zero(&update); 21 memcpy(update.mailbox_guid, mailbox_guid, sizeof(update.mailbox_guid)); 22 update.uid_validity = uid_validity; 24 if (mailbox_create(box, &update, FALSE) < 0) { 75 i_zero(&update); 76 memcpy(update.mailbox_guid, mailbox_guid, 77 sizeof(update.mailbox_guid)); 78 if (mailbox_update(box, &update) < [all...] |
H A D | dsync-mailbox-tree-fill.c | 241 struct mailbox_update update; local 246 i_zero(&update); 247 guid_128_generate(update.mailbox_guid); 263 guid_128_to_string(update.mailbox_guid), change_vname); 267 if (mailbox_update(box, &update) < 0) { 268 i_error("Couldn't update mailbox %s GUID: %s", 272 memcpy(change_node->mailbox_guid, update.mailbox_guid,
|
/dovecot/src/lib-index/ |
H A D | mail-index-transaction-sort-appends.c | 106 struct mail_index_transaction_keyword_update *update; local 111 array_foreach_modifiable(&t->keyword_updates, update) { 112 if (array_is_created(&update->add_seq)) { 113 sort_appends_seq_range(&update->add_seq, 117 if (array_is_created(&update->remove_seq)) { 118 sort_appends_seq_range(&update->remove_seq,
|
H A D | mail-index-transaction-finish.c | 46 /* ignore this extension update */ 84 struct mail_index_flag_update update, 93 update.uid1 == keep_range[0].seq1 && 94 update.uid2 == keep_range[0].seq2) { 103 update.uid1 = keep_range[i].seq1; 104 update.uid2 = keep_range[i].seq2; 105 array_insert(&t->updates, update_idx, &update, 1); 265 struct mail_index_transaction_keyword_update *update; local 270 array_foreach_modifiable(&t->keyword_updates, update) { 271 mail_index_transaction_seq_range_to_uid(t, &update 83 mail_transaction_drop_range(struct mail_index_transaction *t, struct mail_index_flag_update update, unsigned int update_idx, ARRAY_TYPE(seq_range) *keeps) argument [all...] |
H A D | mail-cache.c | 854 bool update) 856 view->no_decision_updates = !update; 853 mail_cache_view_update_cache_decisions(struct mail_cache_view *view, bool update) argument
|
H A D | mail-index-transaction-export.c | 551 const struct mail_index_transaction_keyword_update *update; local 556 array_foreach_modifiable(&t->keyword_updates, update) { 557 count += count_modseq_incs_with(t, &tmp_seqs, &update->add_seq); 558 count += count_modseq_incs_with(t, &tmp_seqs, &update->remove_seq);
|
/dovecot/src/lib-storage/index/cydir/ |
H A D | cydir-storage.c | 90 cydir_mailbox_create(struct mailbox *box, const struct mailbox_update *update, argument 98 return update == NULL ? 0 : 99 index_storage_mailbox_update(box, update);
|
/dovecot/src/plugins/acl/ |
H A D | acl-attributes.c | 25 struct acl_rights_update update; local 27 /* for now allow only dsync to update ACLs this way. 30 files directly that they don't want users to update. and in any case 42 i_zero(&update); 43 update.modify_mode = ACL_MODIFY_MODE_REPLACE; 44 update.neg_modify_mode = ACL_MODIFY_MODE_REPLACE; 45 update.last_change = value->last_change; 48 if (acl_rights_update_import(&update, id, rights, &error) < 0) { 53 return acl_mailbox_update_acl(t, &update);
|
H A D | acl-backend-vfile-update.c | 31 i_error("Can't update acl object '%s': No local acl file path", 60 const struct acl_rights_update *update) 67 update->rights.rights, update->modify_mode); 69 update->rights.neg_rights, 70 update->neg_modify_mode); 82 const struct acl_rights_update *update) 87 if (update->modify_mode == ACL_MODIFY_MODE_REMOVE && 88 update->neg_modify_mode == ACL_MODIFY_MODE_REMOVE) { 94 right.id_type = update 59 vfile_object_modify_right(struct acl_object *aclobj, unsigned int idx, const struct acl_rights_update *update) argument 81 vfile_object_add_right(struct acl_object *aclobj, unsigned int idx, const struct acl_rights_update *update) argument 194 acl_backend_vfile_object_update(struct acl_object *_aclobj, const struct acl_rights_update *update) argument [all...] |
H A D | doveadm-acl.c | 205 const struct acl_rights_update *update) 212 ret = acl_mailbox_update_acl(t, update); 226 struct acl_rights_update update; local 233 i_zero(&update); 234 update.modify_mode = ctx->modify_mode; 235 update.neg_modify_mode = ctx->modify_mode; 236 if (acl_rights_update_import(&update, id, rights, &error) < 0) 238 if ((ret = cmd_acl_mailbox_update(box, &update)) < 0) { 286 struct acl_rights_update update; local 293 i_zero(&update); 204 cmd_acl_mailbox_update(struct mailbox *box, const struct acl_rights_update *update) argument [all...] |
H A D | acl-cache.c | 288 const struct acl_rights_update *update) 296 if (created && update->modify_mode != ACL_MODIFY_MODE_REPLACE) { 304 acl_cache_update_rights_mask(cache, obj_cache, update->modify_mode, 305 update->rights.rights, 307 acl_cache_update_rights_mask(cache, obj_cache, update->neg_modify_mode, 308 update->rights.neg_rights, 287 acl_cache_update(struct acl_cache *cache, const char *objname, const struct acl_rights_update *update) argument
|
H A D | acl-mailbox.c | 97 struct acl_rights_update update; local 99 i_zero(&update); 100 update.modify_mode = ACL_MODIFY_MODE_REPLACE; 101 update.neg_modify_mode = ACL_MODIFY_MODE_REPLACE; 106 while (acl_object_list_next(iter, &update.rights)) { 108 if (!update.rights.global) 109 (void)acl_object_update(abox->aclobj, &update); 117 acl_mailbox_create(struct mailbox *box, const struct mailbox_update *update, argument 149 ret = abox->module_ctx.super.create_box(box, update, directory); 157 acl_mailbox_update(struct mailbox *box, const struct mailbox_update *update) argument 614 acl_mailbox_update_removed_id(struct acl_object *aclobj, const struct acl_rights_update *update) argument 637 acl_mailbox_update_acl(struct mailbox_transaction_context *t, const struct acl_rights_update *update) argument [all...] |
/dovecot/src/plugins/welcome/ |
H A D | welcome-plugin.c | 86 const struct mailbox_update *update, bool directory) 90 if (wbox->module_ctx.super.create_box(box, update, directory) < 0) 85 welcome_create_box(struct mailbox *box, const struct mailbox_update *update, bool directory) argument
|
/dovecot/src/lib-otp/ |
H A D | otp-hash.c | 19 void (*update)(void *ctx, const void *data, const size_t size); member in struct:digest 127 ctx->digest->update(&ctx->ctx, data, size);
|
/dovecot/src/lib-storage/index/dbox-common/ |
H A D | dbox-storage.c | 205 we need to update the last_scan_time to avoid 279 /* temp files were scanned. update the last scan timestamp. */ 317 const struct mailbox_update *update, bool directory) 351 return dbox_mailbox_create_indexes(box, update); 355 const struct mailbox_update *update) 372 if (storage->v.mailbox_create_indexes(box, update, trans) < 0) { 316 dbox_mailbox_create(struct mailbox *box, const struct mailbox_update *update, bool directory) argument 354 dbox_mailbox_create_indexes(struct mailbox *box, const struct mailbox_update *update) argument
|
/dovecot/src/lib-storage/index/dbox-multi/ |
H A D | mdbox-deleted-storage.c | 64 const struct mailbox_update *update, 72 if (update != NULL && update->uid_validity != 0) 73 uid_validity = update->uid_validity; 87 mdbox_update_header(mbox, trans, update); 63 mdbox_deleted_mailbox_create_indexes(struct mailbox *box, const struct mailbox_update *update, struct mail_index_transaction *trans) argument
|
H A D | mdbox-storage.c | 229 const struct mailbox_update *update) 241 if (update != NULL && !guid_128_is_empty(update->mailbox_guid)) { 242 memcpy(new_hdr.mailbox_guid, update->mailbox_guid, 262 const struct mailbox_update *update, 282 if (update != NULL && update->uid_validity != 0) 283 uid_validity = update->uid_validity; 294 if (update != NULL && hdr->next_uid < update 227 mdbox_update_header(struct mdbox_mailbox *mbox, struct mail_index_transaction *trans, const struct mailbox_update *update) argument 261 mdbox_write_index_header(struct mailbox *box, const struct mailbox_update *update, struct mail_index_transaction *trans) argument 332 mdbox_mailbox_create_indexes(struct mailbox *box, const struct mailbox_update *update, struct mail_index_transaction *trans) argument 434 mdbox_mailbox_update(struct mailbox *box, const struct mailbox_update *update) argument [all...] |
/dovecot/src/lib-storage/index/dbox-single/ |
H A D | sdbox-storage.c | 182 const struct mailbox_update *update) 194 if (update != NULL && !guid_128_is_empty(update->mailbox_guid)) { 195 memcpy(new_hdr.mailbox_guid, update->mailbox_guid, 214 const struct mailbox_update *update, 228 if (update != NULL && update->uid_validity != 0) 229 uid_validity = update->uid_validity; 242 if (update != NULL && hdr->next_uid < update 180 sdbox_update_header(struct sdbox_mailbox *mbox, struct mail_index_transaction *trans, const struct mailbox_update *update) argument 213 sdbox_mailbox_create_indexes(struct mailbox *box, const struct mailbox_update *update, struct mail_index_transaction *trans) argument 378 sdbox_mailbox_create(struct mailbox *box, const struct mailbox_update *update, bool directory) argument 419 dbox_mailbox_update(struct mailbox *box, const struct mailbox_update *update) argument [all...] |
/dovecot/src/lib-storage/index/ |
H A D | index-mailbox-size.c | 31 locking. The final vsize header update requires committing a transaction, 54 static void vsize_header_refresh(struct mailbox_vsize_update *update) argument 59 if (update->view != NULL) 60 mail_index_view_close(&update->view); 61 (void)mail_index_refresh(update->box->index); 62 update->view = mail_index_view_open(update->box->index); 64 mail_index_get_header_ext(update->view, update->box->vsize_hdr_ext_id, 67 memcpy(&update 84 index_mailbox_vsize_check_rebuild(struct mailbox_vsize_update *update) argument 111 struct mailbox_vsize_update *update; local 122 vsize_update_lock_full(struct mailbox_vsize_update *update, unsigned int lock_secs) argument 152 index_mailbox_vsize_update_try_lock(struct mailbox_vsize_update *update) argument 157 index_mailbox_vsize_update_wait_lock(struct mailbox_vsize_update *update) argument 162 index_mailbox_vsize_want_updates(struct mailbox_vsize_update *update) argument 168 index_mailbox_vsize_update_write(struct mailbox_vsize_update *update) argument 222 struct mailbox_vsize_update *update = *_update; local 236 index_mailbox_vsize_hdr_expunge(struct mailbox_vsize_update *update, uint32_t uid, uoff_t vsize) argument 260 index_mailbox_vsize_hdr_add_missing(struct mailbox_vsize_update *update, bool require_result) argument 360 struct mailbox_vsize_update *update; local 444 struct mailbox_vsize_update *update; local [all...] |
/dovecot/src/plugins/mail-crypt/ |
H A D | mail-crypt-acl-plugin.c | 240 const struct acl_rights_update *update) 252 if (mlist->acl_vprev.object_update(aclobj, update) < 0) 262 switch (update->rights.id_type) { 266 username = update->rights.identifier; 239 mail_crypt_acl_object_update(struct acl_object *aclobj, const struct acl_rights_update *update) argument
|
/dovecot/src/plugins/mailbox-alias/ |
H A D | mailbox-alias-plugin.c | 189 mailbox_alias_create(struct mailbox *box, const struct mailbox_update *update, argument 198 ret = abox->module_ctx.super.create_box(box, update, directory);
|
/dovecot/src/plugins/notify/ |
H A D | notify-storage.c | 171 notify_mailbox_create(struct mailbox *box, const struct mailbox_update *update, argument 176 if (lbox->super.create_box(box, update, directory) < 0) 184 notify_mailbox_update(struct mailbox *box, const struct mailbox_update *update) argument 188 if (lbox->super.update_box(box, update) < 0)
|
/dovecot/src/lib-storage/index/maildir/ |
H A D | maildir-storage.c | 428 maildir_mailbox_update(struct mailbox *box, const struct mailbox_update *update) argument 441 if (update->uid_validity != 0 || update->min_next_uid != 0 || 442 !guid_128_is_empty(update->mailbox_guid)) { 447 if (!guid_128_is_empty(update->mailbox_guid)) 448 maildir_uidlist_set_mailbox_guid(uidlist, update->mailbox_guid); 449 if (update->uid_validity != 0) 450 maildir_uidlist_set_uid_validity(uidlist, update->uid_validity); 451 if (update->min_next_uid != 0) { 452 maildir_uidlist_set_next_uid(uidlist, update 510 maildir_mailbox_create(struct mailbox *box, const struct mailbox_update *update, bool directory) argument [all...] |