Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-storage/index/index-fetch.c @ 6275:913b188f4dd4 HEAD
Removed explicit locking from views and maps. They were already locked all
the time when they were used. Because of this change several functions can
no longer fail, so they were changed to return void, and a lot of pointless
error handling was removed.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 12 Aug 2007 16:43:05 +0300 |
parents | 923ff19873d4 |
children | 65c69a53a7be |
line wrap: on
line source
/* Copyright (C) 2002-2003 Timo Sirainen */ #include "lib.h" #include "index-storage.h" #include "index-mail.h" void index_storage_get_uids(struct mailbox *box, uint32_t uid1, uint32_t uid2, uint32_t *seq1_r, uint32_t *seq2_r) { struct index_mailbox *ibox = (struct index_mailbox *)box; mail_index_lookup_uid_range(ibox->view, uid1, uid2, seq1_r, seq2_r); }