/dovecot/src/lib-storage/index/dbox-multi/ |
H A D | mdbox-file.h | 8 struct mdbox_storage *storage; member in struct:mdbox_file 15 mdbox_file_init(struct mdbox_storage *storage, uint32_t file_id); 17 mdbox_file_init_new_alt(struct mdbox_storage *storage); 26 void mdbox_files_free(struct mdbox_storage *storage); 27 void mdbox_files_sync_input(struct mdbox_storage *storage);
|
H A D | mdbox-map-private.h | 13 struct mdbox_storage *storage; member in struct:mdbox_map
|
/dovecot/src/lib-storage/ |
H A D | fail-mail-storage.c | 5 #include "mail-storage-private.h" 6 #include "fail-mail-storage.h" 10 struct mail_storage *storage; local 13 pool = pool_alloconly_create("fail mail storage", 1024); 14 storage = p_new(pool, struct mail_storage, 1); 15 *storage = fail_storage; 16 storage->pool = pool; 17 return storage; 20 static void fail_storage_destroy(struct mail_storage *storage ATTR_UNUSED) 54 struct mail_storage *storage; local [all...] |
H A D | test-mail-search-args-simplify.c | 6 #include "mail-storage-private.h" 272 struct mail_storage storage = { .set = &set }; local 273 struct mailbox box = { .opened = TRUE, .storage = &storage };
|
H A D | mail-namespace.h | 70 struct mail_storage *storage; /* default storage */ member in struct:mail_namespace 88 This is the most low-level namespace creation function. The storage isn't 126 /* Set storage callback functions to use in all namespaces. */ 131 /* Add a new storage to namespace. */ 133 struct mail_storage *storage); 137 /* Returns the default storage to use for newly created mailboxes. */
|
H A D | fail-mailbox.c | 5 #include "mail-storage-private.h" 7 #include "fail-mail-storage.h" 33 mail_storage_set_error(box->storage, MAIL_ERROR_NOTFOUND, 51 mail_storage_set_error(box->storage, MAIL_ERROR_NOTPOSSIBLE, 60 mail_storage_set_error(box->storage, MAIL_ERROR_NOTPOSSIBLE, 67 mail_storage_set_error(box->storage, MAIL_ERROR_NOTPOSSIBLE, 75 mail_storage_set_error(src->storage, MAIL_ERROR_NOTPOSSIBLE, 86 mail_storage_set_error(box->storage, MAIL_ERROR_NOTFOUND, 96 mail_storage_set_error(box->storage, MAIL_ERROR_NOTFOUND, 104 mail_storage_set_error(box->storage, MAIL_ERROR_NOTPOSSIBL 308 fail_mailbox_alloc(struct mail_storage *storage, struct mailbox_list *list, const char *vname, enum mailbox_flags flags) argument [all...] |
/dovecot/src/lib-storage/index/cydir/ |
H A D | cydir-storage.h | 4 #include "index-storage.h" 10 struct mail_storage storage; member in struct:cydir_storage 15 struct cydir_storage *storage; member in struct:cydir_mailbox 18 #define CYDIR_STORAGE(s) container_of(s, struct cydir_storage, storage)
|
H A D | cydir-storage.c | 8 #include "cydir-storage.h" 17 struct cydir_storage *storage; local 20 pool = pool_alloconly_create("cydir storage", 512+256); 21 storage = p_new(pool, struct cydir_storage, 1); 22 storage->storage = cydir_storage; 23 storage->storage.pool = pool; 24 return &storage->storage; 38 cydir_mailbox_alloc(struct mail_storage *storage, struct mailbox_list *list, const char *vname, enum mailbox_flags flags) argument [all...] |
H A D | cydir-save.c | 11 #include "cydir-storage.h" 145 struct mail_storage *storage = &ctx->mbox->storage->storage; local 156 if (storage->set->parsed_fsync_mode != FSYNC_MODE_NEVER) {
|
/dovecot/src/lib-storage/index/shared/ |
H A D | shared-storage.h | 5 struct mail_storage storage; member in struct:shared_storage 14 #define SHARED_STORAGE(s) container_of(s, struct shared_storage, storage)
|
/dovecot/src/imap/ |
H A D | cmd-close.c | 11 struct mail_storage *storage; local 20 storage = mailbox_get_storage(mailbox); 24 client_send_untagged_storage_error(client, storage); 31 client_send_untagged_storage_error(client, storage);
|
/dovecot/src/lib-storage/index/raw/ |
H A D | raw-storage.h | 4 #include "index-storage.h" 10 struct mail_storage storage; member in struct:raw_storage 15 struct raw_storage *storage; member in struct:raw_mailbox 25 #define RAW_STORAGE(s) container_of(s, struct raw_storage, storage)
|
H A D | raw-storage.c | 10 #include "raw-storage.h" 32 ns_set->name = "raw-storage"; 37 /* raw storage doesn't have INBOX. We especially don't want LIST to 42 /* absolute paths are ok with raw storage */ 49 i_fatal("Couldn't create internal raw storage: %s", error); 78 i_assert(strcmp(box->storage->name, RAW_STORAGE_NAME) == 0); 103 struct raw_storage *storage; local 106 pool = pool_alloconly_create("raw storage", 512+256); 107 storage = p_new(pool, struct raw_storage, 1); 108 storage 124 raw_mailbox_alloc(struct mail_storage *storage, struct mailbox_list *list, const char *vname, enum mailbox_flags flags) argument [all...] |
/dovecot/src/lib-storage/index/dbox-single/ |
H A D | sdbox-storage.h | 4 #include "index-storage.h" 5 #include "dbox-storage.h" 21 struct dbox_storage storage; member in struct:sdbox_storage 26 struct sdbox_storage *storage; member in struct:sdbox_mailbox 29 /* if non-zero, storage should be rebuilt (except if rebuild_count 36 #define SDBOX_STORAGE(s) container_of(DBOX_STORAGE(s), struct sdbox_storage, storage)
|
/dovecot/src/lib-storage/index/dbox-common/ |
H A D | dbox-storage.h | 4 #include "mail-storage-private.h" 23 /* Flag specifies if the message should be in primary or alternative storage */ 58 struct mail_storage storage; member in struct:dbox_storage 65 #define DBOX_STORAGE(s) container_of(s, struct dbox_storage, storage) 69 int dbox_storage_create(struct mail_storage *storage, 72 void dbox_storage_destroy(struct mail_storage *storage);
|
H A D | dbox-save.c | 10 #include "index-storage.h" 41 struct mail_storage *_storage = _ctx->transaction->box->storage; 42 struct dbox_storage *storage = DBOX_STORAGE(_storage); local 68 index_attachment_save_begin(_ctx, storage->attachment_fs, ctx->input);
|
H A D | dbox-file.h | 97 struct dbox_storage *storage; member in struct:dbox_file
|
H A D | dbox-mail.c | 6 #include "index-storage.h" 10 #include "dbox-storage.h" 44 struct dbox_storage *storage = local 45 DBOX_STORAGE(mail->imail.mail.mail.box->storage); 48 if (storage->v.mail_open(mail, &offset, file_r) < 0) 142 struct dbox_storage *storage = DBOX_STORAGE(_mail->box->storage); local 152 if (storage->v.mail_open(mail, &offset, &file) < 0) 281 if (file->storage->attachment_dir == NULL) 292 struct dbox_storage *storage local [all...] |
H A D | dbox-storage.c | 11 #include "index-storage.h" 12 #include "dbox-storage.h" 101 struct dbox_storage *storage = DBOX_STORAGE(_storage); local 126 storage->attachment_dir = p_strdup(_storage->pool, dir); 129 storage->attachment_dir, 130 &storage->attachment_fs, &error) < 0) { 144 struct dbox_storage *storage = DBOX_STORAGE(_storage); local 146 if (storage->attachment_fs != NULL) 147 fs_deinit(&storage->attachment_fs); 252 mail_storage_set_error(box->storage, MAIL_ERROR_NOTFOUN 285 dir_is_empty(struct mail_storage *storage, const char *path) argument 319 struct dbox_storage *storage = DBOX_STORAGE(box->storage); local 357 struct dbox_storage *storage = DBOX_STORAGE(box->storage); local [all...] |
/dovecot/src/lib-storage/index/pop3c/ |
H A D | pop3c-storage.h | 4 #include "index-storage.h" 9 struct mail_storage storage; member in struct:pop3c_storage 15 struct pop3c_storage *storage; member in struct:pop3c_mailbox 40 #define POP3C_STORAGE(s) container_of(s, struct pop3c_storage, storage)
|
/dovecot/src/plugins/acl/ |
H A D | acl-shared-storage.c | 10 #include "acl-shared-storage.h" 11 #include "index/shared/shared-storage.h" 35 struct mail_storage *storage, const char *userdomain) 37 struct shared_storage *sstorage = (struct shared_storage *)storage; 83 struct mail_storage *storage = mail_namespace_get_default_storage(ns); local 89 i_assert(strcmp(storage->name, MAIL_SHARED_STORAGE_NAME) == 0); 100 acl_shared_namespace_add(ns, storage, name); 34 acl_shared_namespace_add(struct mail_namespace *ns, struct mail_storage *storage, const char *userdomain) argument
|
/dovecot/src/doveadm/ |
H A D | doveadm-mail-save.c | 5 #include "mail-storage.h" 17 struct mail_storage *storage = mailbox_get_storage(box); local 35 doveadm_mail_failed_storage(&ctx->ctx, storage); 45 doveadm_mail_failed_storage(&ctx->ctx, storage); 64 doveadm_mail_failed_storage(&ctx->ctx, storage); 68 doveadm_mail_failed_storage(&ctx->ctx, storage); 72 doveadm_mail_failed_storage(&ctx->ctx, storage);
|
H A D | doveadm-mail-altmove.c | 6 #include "mail-storage.h" 44 struct mail_storage *storage) 46 if (mail_storage_purge(storage) < 0) { 48 mail_storage_get_last_internal_error(storage, NULL)); 49 doveadm_mail_failed_storage(ctx, storage); 43 ns_purge(struct doveadm_mail_cmd_context *ctx, struct mail_namespace *ns, struct mail_storage *storage) argument
|
/dovecot/src/lib-storage/index/maildir/ |
H A D | maildir-util.c | 9 #include "maildir-storage.h" 153 if (ret == 0 && mbox->storage->set->maildir_very_dirty_syncs) T_BEGIN { 201 mail_storage_copy_list_error(box->storage, box->list); 274 int maildir_lose_unexpected_dir(struct mail_storage *storage, const char *path) argument 285 mail_storage_set_critical(storage, 293 mail_storage_set_critical(storage, 310 mail_storage_set_critical(storage, 318 mail_storage_set_critical(storage,
|
/dovecot/src/master/ |
H A D | sd-daemon.c | 209 struct sockaddr_storage storage; member in union:sockaddr_union
|