imap-fetch.c revision 94478f96b2845d619aa1a9b8cf507d598ac74ecc
402f9183489c1a75736b1e9068c33fe2741a366dTimo Sirainen/* Copyright (c) 2002-2007 Dovecot authors, see the included COPYING file */
#include <stdlib.h>
#define BODY_NIL_REPLY \
#define ENVELOPE_NIL_REPLY \
void *data;
sizeof(struct imap_fetch_handler),
sizeof(struct imap_fetch_handler),
return FALSE;
return ctx;
struct imap_fetch_context_handler h;
unsigned int i, size;
for (i = 0; i < size; i++) {
memset(&h, 0, sizeof(h));
if (!buffered)
const void *data;
MAIL_FETCH_STREAM_BODY)) == 0)) {
const unsigned char *data;
if (len == 0)
len--;
unsigned int count;
int ret;
if (ret == 0)
if (ret < 0) {
if (ret <= 0) {
return ret;
t_push();
t_pop();
if (ret == 0) {
if (ret < 0) {
unsigned int i, count;
for (i = 0; i < count; i++) {
const char *body;
return TRUE;
const char *bodystructure;
&bodystructure) < 0)
return TRUE;
const char *envelope;
return TRUE;
const char *const *keywords;
return TRUE;
return TRUE;
return TRUE;