doveadm-mail-fetch.c revision 50859db1fd7dd99d94091a05550090ac3a7b3db7
3236N/A#include "message-size.h"
3236N/A#include "imap-utf7.h"
3236N/A#include "imap-util.h"
3236N/A#include "mail-user.h"
3236N/A#include "mail-storage.h"
3236N/A#include "mail-search.h"
3236N/A#include "mail-namespace.h"
3236N/A#include "doveadm-print.h"
3236N/A#include "doveadm-mail.h"
3236N/A#include "doveadm-mail-list-iter.h"
3236N/A#include "doveadm-mail-iter.h"
3236N/Astruct fetch_cmd_context {
3236N/Astruct fetch_field {
const char *value;
const unsigned char *data;
int ret = 0;
if (size == 0)
return ret;
const char *const *value;
if (add_lf)
const unsigned char *data;
int ret = 0;
if (size == 0)
return ret;
const unsigned char *data;
int ret = 0;
if (size == 0)
return ret;
time_t t;
time_t t;
int tz;
char chr;
time_t t;
const char *value;
const char *value;
const char *value;
return &fetch_fields[i];
return NULL;
static void print_fetch_fields(void)
T_BEGIN {
} T_END;
} T_END;
const char *const args[])