mail-cache-compress.c revision 8d77ab87a57ae98532c62e5d1548bd131dee3074
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen/* Copyright (c) 2003-2007 Dovecot authors, see the included COPYING file */
146e7e3fabdd843d50680cdb6e4f7829890f5fcfTimo Sirainenmail_cache_merge_bitmask(struct mail_cache_copy_context *ctx,
8d85926bc5484cf5f8de2ab3218298fe01d62696Timo Sirainen unsigned char *dest;
4a6f9ed8e5412508dcba1eabb58a3680ad5e9b68Timo Sirainen unsigned int i, *pos;
if (*pos == 0) {
static uint32_t
unsigned int used_fields_count)
unsigned int i, j, idx;
ext_offset = 0;
sizeof(cache_rec));
if (ret >= 0) {
if (ret == 0)
bool *unlock)
unsigned int i, count;
0, &dotlock);
if (ret < 0)
if (*unlock) {
for (i = 0; i < count; i++) {
if (offsets[i] != 0) {
if (*unlock) {
int ret;
if (unlock) {
return ret;