Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib-storage/mail-storage.h @ 8484:db78eab2ba5d HEAD
Initial support for getting full text search working nicely with virtual mailboxes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 23 Nov 2008 03:59:55 +0200 |
parents | d4eab639c253 |
children | ffb37c392166 |
line wrap: on
line diff
--- a/src/lib-storage/mail-storage.h Sun Nov 23 02:40:09 2008 +0200 +++ b/src/lib-storage/mail-storage.h Sun Nov 23 03:59:55 2008 +0200 @@ -416,6 +416,11 @@ bool mailbox_get_expunged_uids(struct mailbox *box, uint64_t modseq, const ARRAY_TYPE(seq_range) *uids, ARRAY_TYPE(seq_range) *expunged_uids); +/* If box is a virtual mailbox, look up UID for the given backend message. + Returns TRUE if found, FALSE if not. */ +bool mailbox_get_virtual_uid(struct mailbox *box, const char *backend_mailbox, + uint32_t backend_uidvalidity, + uint32_t backend_uid, uint32_t *uid_r); /* Initialize header lookup for given headers. */ struct mailbox_header_lookup_ctx *