Lines Matching refs:storage
6 #include "index-storage.h"
84 struct mail_storage *storage = box->storage;
97 return index_storage_get_user_dict(storage, storage->user, dict_r);
101 return index_storage_get_user_dict(storage, storage->user, dict_r);
105 return index_storage_get_user_dict(storage, ns->owner, dict_r);
109 so use the storage's dict. */
110 if (storage->_shared_attr_dict != NULL) {
111 *dict_r = storage->_shared_attr_dict;
114 if (*storage->set->mail_attribute_dict == '\0') {
115 mail_storage_set_error(storage, MAIL_ERROR_NOTPOSSIBLE,
119 if (storage->shared_attr_dict_failed) {
120 mail_storage_set_internal_error(storage);
125 set.username = storage->user->username;
126 set.base_dir = storage->user->set->base_dir;
127 if (mail_user_get_home(storage->user, &set.home_dir) <= 0)
129 if (dict_init(storage->set->mail_attribute_dict, &set,
130 &storage->_shared_attr_dict, &error) < 0) {
131 mail_storage_set_critical(storage,
133 storage->set->mail_attribute_dict, error);
134 storage->shared_attr_dict_failed = TRUE;
137 *dict_r = storage->_shared_attr_dict;
211 if (mailbox_attribute_value_to_string(t->box->storage, value,