Mercurial > dovecot > core-2.2
view src/lib-index/mail-index-alloc-cache.h @ 10662:8b138b29dc01 HEAD
lib-storage: Split mailbox_close() and mailbox_free() functionality.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 07 Feb 2010 17:50:08 +0200 |
parents | 9d3b5cbef222 |
children | c93ca5e46a8a |
line wrap: on
line source
#ifndef MAIL_INDEX_ALLOC_CACHE_H #define MAIL_INDEX_ALLOC_CACHE_H /* If using in-memory indexes, give index_dir=NULL. */ struct mail_index * mail_index_alloc_cache_get(const char *mailbox_path, const char *index_dir, const char *prefix); void mail_index_alloc_cache_unref(struct mail_index **index); void mail_index_alloc_cache_destroy_unrefed(void); /* internal: */ void mail_index_alloc_cache_index_opened(struct mail_index *index); #endif