Lines Matching refs:storage
12 #include "pop3c-storage.h"
21 struct pop3c_storage *storage;
24 pool = pool_alloconly_create("pop3c storage", 512+256);
25 storage = p_new(pool, struct pop3c_storage, 1);
26 storage->storage = pop3c_storage;
27 storage->storage.pool = pool;
28 return &storage->storage;
36 struct pop3c_storage *storage = POP3C_STORAGE(_storage);
38 storage->set = mail_namespace_get_driver_settings(ns, _storage);
39 if (storage->set->pop3c_host[0] == '\0') {
43 if (storage->set->pop3c_password[0] == '\0') {
52 pop3c_client_create_from_set(struct mail_storage *storage,
65 storage->user->set->base_dir[0] == '\0' ? "" :
66 t_strconcat(storage->user->set->base_dir, "/",
69 mail_user_set_get_temp_prefix(str, storage->user->set);
72 client_set.debug = storage->user->mail_debug;
74 mail_user_home_expand(storage->user, set->pop3c_rawlog_dir);
76 client_set.ssl_ca_dir = storage->set->ssl_client_ca_dir;
77 client_set.ssl_ca_file = storage->set->ssl_client_ca_file;
85 client_set.ssl_crypto_device = storage->set->ssl_crypto_device;
106 pop3c_mailbox_alloc(struct mail_storage *storage, struct mailbox_list *list,
116 mbox->box.storage = storage;
119 mbox->storage = POP3C_STORAGE(storage);
147 mail_storage_set_error(mbox->box.storage,
151 mail_storage_set_error(mbox->box.storage,
167 mail_storage_set_error(box->storage, MAIL_ERROR_NOTFOUND,
175 mbox->client = pop3c_client_create_from_set(box->storage,
176 mbox->storage->set);
198 mail_storage_set_error(box->storage, MAIL_ERROR_NOTPOSSIBLE,
210 mail_storage_set_error(box->storage, MAIL_ERROR_NOTPOSSIBLE,
266 mail_storage_set_error(ctx->transaction->box->storage,