Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib-index/mail-index-dummy-view.c @ 4453:85fcdb478608 HEAD
Beginnings of joining mail-storage API more closely to mail-index, so that
mail-index could be directly used if needed. Currently only transactions
are joined.
author | Timo Sirainen <timo.sirainen@movial.fi> |
---|---|
date | Wed, 28 Jun 2006 19:31:05 +0300 |
parents | 9810fafd04ff |
children | def1b9bd5466 |
line wrap: on
line diff
--- a/src/lib-index/mail-index-dummy-view.c Wed Jun 28 18:36:42 2006 +0300 +++ b/src/lib-index/mail-index-dummy-view.c Wed Jun 28 19:31:05 2006 +0300 @@ -17,7 +17,7 @@ return (uint32_t)-3; } -static struct mail_index_view_methods dummy_view_methods = { +static struct mail_index_view_vfuncs dummy_view_vfuncs = { _dummy_view_close, _dummy_view_get_message_count, NULL, @@ -35,7 +35,7 @@ view = i_new(struct mail_index_view, 1); view->refcount = 1; - view->methods = dummy_view_methods; + view->v = dummy_view_vfuncs; view->index = index; return view; }