/* Copyright (c) 2007-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "istream.h"
#include "index-mail.h"
#include "cydir-storage.h"
#include <fcntl.h>
#include <unistd.h>
{
const char *dir;
}
{
const char *path;
return -1;
}
else {
}
return -1;
}
return 0;
}
{
return 0;
return -1;
return 0;
}
{
return 0;
return -1;
return 0;
}
{
return 0;
return -1;
return 0;
}
static int
struct message_size *hdr_size,
struct message_size *body_size,
{
const char *path;
int fd;
if (fd == -1) {
else {
path);
}
return -1;
}
return -1;
}
}
}
}
cydir_mail_get_physical_size, /* physical = virtual in our case */
NULL,
};