imap-fetch.c revision 3ed5b60132508928e82d685d901ad3e6f95b0df0
/* Copyright (C) 2002 Timo Sirainen */
#include "common.h"
#include "istream.h"
#include "ostream.h"
#include "str.h"
#include "message-send.h"
#include "message-size.h"
#include "imap-date.h"
#include "commands.h"
#include "imap-fetch.h"
#include <unistd.h>
{
}
{
const struct mail_full_flags *flags;
return FALSE;
return TRUE;
}
{
return FALSE;
return TRUE;
}
{
return FALSE;
return TRUE;
}
{
const char *body;
return FALSE;
return TRUE;
}
{
const char *bodystructure;
if (bodystructure == NULL)
return FALSE;
return TRUE;
}
{
const char *envelope;
return FALSE;
return TRUE;
}
{
const char *str;
return FALSE;
}
return FALSE;
}
{
struct message_size hdr_size;
const char *str;
return FALSE;
}
return FALSE;
}
{
const char *str;
return FALSE;
}
return FALSE;
}
{
struct imap_fetch_body_data *body;
int failed, data_written;
t_push();
do {
/* write the data into temp string */
break;
break;
break;
break;
break;
break;
/* send the data written into temp string */
break;
data_written = TRUE;
/* large data */
break;
break;
break;
break;
}
} while (0);
if (data_written) {
}
t_pop();
return !failed;
}
enum mail_fetch_field fetch_data,
enum imap_fetch_field imap_data,
struct imap_fetch_body_data *bodies,
const char *messageset, int uidset)
{
struct imap_fetch_context ctx;
/* If we have any BODY[..] sections, \Seen flag is added for
all messages */
struct imap_fetch_body_data *body;
update_seen = TRUE;
break;
}
}
update_seen = TRUE;
}
messageset, uidset);
return -1;
break;
}
}
return -1;
}