Lines Matching refs:storage
5 #include "mail-storage-private.h"
6 #include "fail-mail-storage.h"
10 struct mail_storage *storage;
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;
56 storage = fail_storage_alloc();
57 storage->refcount = 1;
58 storage->storage_class = &fail_storage;
59 p_array_init(&storage->module_contexts, storage->pool, 5);
60 return storage;