Mercurial > dovecot > core-2.2
diff src/lib-index/mail-cache-private.h @ 15311:022d0d21e56d
lib-index: mail_cache_map() API cleanup
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 18 Oct 2012 05:10:29 +0300 |
parents | 21c3ce1b21cd |
children | 0d1de37ad9d8 |
line wrap: on
line diff
--- a/src/lib-index/mail-cache-private.h Tue Oct 16 03:34:51 2012 +0300 +++ b/src/lib-index/mail-cache-private.h Thu Oct 18 05:10:29 2012 +0300 @@ -256,7 +256,8 @@ int mail_cache_lookup_iter_next(struct mail_cache_lookup_iterate_ctx *ctx, struct mail_cache_iterate_field *field_r); -int mail_cache_map(struct mail_cache *cache, size_t offset, size_t size); +int mail_cache_map(struct mail_cache *cache, size_t offset, size_t size, + const void **data_r); void mail_cache_file_close(struct mail_cache *cache); int mail_cache_reopen(struct mail_cache *cache);