Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/lib-storage/index/maildir/maildir-keywords.h @ 6408:17ec931b51d7 HEAD
Added maildir_keywords_init_readonly() which can be used to read the
keywords file from non-maildir mailboxes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 11:02:48 +0300 |
parents | 96de02ea7482 |
children | 7f733ba453bf |
comparison
equal
deleted
inserted
replaced
6407:1deb160e5fbb | 6408:17ec931b51d7 |
---|---|
6 struct maildir_keywords; | 6 struct maildir_keywords; |
7 struct maildir_keywords_sync_ctx; | 7 struct maildir_keywords_sync_ctx; |
8 | 8 |
9 struct maildir_keywords *maildir_keywords_init(struct maildir_mailbox *mbox); | 9 struct maildir_keywords *maildir_keywords_init(struct maildir_mailbox *mbox); |
10 void maildir_keywords_deinit(struct maildir_keywords *mk); | 10 void maildir_keywords_deinit(struct maildir_keywords *mk); |
11 | |
12 /* Initialize a read-only maildir_keywords instance. Mailbox needs to contain | |
13 the dovecot-keywords file, but otherwise it doesn't have to be in maildir | |
14 format. */ | |
15 struct maildir_keywords * | |
16 maildir_keywords_init_readonly(struct mailbox *box); | |
11 | 17 |
12 struct maildir_keywords_sync_ctx * | 18 struct maildir_keywords_sync_ctx * |
13 maildir_keywords_sync_init(struct maildir_keywords *mk, | 19 maildir_keywords_sync_init(struct maildir_keywords *mk, |
14 struct mail_index *index); | 20 struct mail_index *index); |
15 void maildir_keywords_sync_deinit(struct maildir_keywords_sync_ctx *ctx); | 21 void maildir_keywords_sync_deinit(struct maildir_keywords_sync_ctx *ctx); |