imapc-search.c revision 9ca6d68fbad1892423ca798818f579c95475a19a
/* Copyright (c) 2011 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "istream.h"
#include "safe-mkstemp.h"
#include "write-full.h"
#include "str.h"
#include "imap-arg.h"
#include "imap-date.h"
#include "mail-user.h"
#include "index-mail.h"
#include "imapc-client.h"
#include "imapc-storage.h"
{
unsigned int orig_len;
MAIL_FETCH_VIRTUAL_SIZE)) != 0)
MAIL_FETCH_DATE)) != 0 ||
/* we don't need to fetch anything */
return;
}
}
struct mail_search_context *
imapc_search_init(struct mailbox_transaction_context *t,
struct mail_search_args *args,
const enum mail_sort_type *sort_program)
{
}
{
return FALSE;
return TRUE;
}
{
int fd;
if (fd == -1) {
return -1;
}
/* we just want the fd, unlink it */
/* shouldn't happen.. */
return -1;
}
return fd;
}
static void
{
const char *path;
return;
if (fd == -1)
return;
return;
}
return;
}
}
if (body) {
if (ret < 0) {
return;
}
}
}
{
unsigned int i;
time_t t;
int tz;
return;
return;
return;
return;
}
}
}