mbox-storage.c revision a1fdff5e1305ddb2816567c421aa9414631c67f7
460N/A#include "mkdir-parents.h"
460N/A#include "unlink-directory.h"
460N/A#include "mbox-storage.h"
460N/A#include "mbox-lock.h"
460N/A#include "mbox-file.h"
460N/A#include "mbox-sync-private.h"
460N/A#include "mail-copy.h"
460N/A#include "index-mail.h"
460N/Aconst char *mbox_hide_headers[] = {
460N/Aunsigned int mbox_hide_headers_count =
460N/Aconst char *mbox_save_drop_headers[] = {
460N/Aunsigned int mbox_save_drop_headers_count =
460N/Astatic unsigned int mbox_mailbox_list_module_id;
return FALSE;
return TRUE;
if (debug) {
return FALSE;
if (debug) {
return FALSE;
if (debug) {
return FALSE;
if (debug)
return TRUE;
if (debug) {
return FALSE;
if (debug) {
return FALSE;
if (debug) {
return FALSE;
if (debug)
return TRUE;
const char *path;
if (debug) {
return TRUE;
return TRUE;
return TRUE;
return TRUE;
return FALSE;
if (debug)
return path;
if (debug)
if (debug)
return path;
if (debug)
if (debug)
if (debug)
return NULL;
if (debug)
return path;
if (debug)
if (debug)
return path;
if (debug)
if (debug)
return path;
return NULL;
return NULL;
if (debug)
return path;
bool autodetect;
if (autodetect) {
if (debug)
if (p == NULL) {
} while (p != NULL);
const char *path, *p;
if (p == NULL)
return path;
static struct mail_storage *
const char *error;
return NULL;
return NULL;
if (!mbox_mailbox_list_module_id_set) {
const char *name)
const char *index_dir;
const char *inbox_path;
int fd;
return FALSE;
const char *env;
unsigned int min_size;
return FALSE;
if (min_size == 0)
return FALSE;
return FALSE;
static struct mbox_mailbox *
return NULL;
return mbox;
static struct mailbox *
return NULL;
static struct mailbox *
return NULL;
return NULL;
static struct mailbox *
const char *path;
return NULL;
return NULL;
return NULL;
path);
return NULL;
bool directory)
const char *path, *p;
int fd;
if (p != NULL) {
if (directory) {
name);
if (p != NULL) {
newpath);
int ret = 0;
return ret;
t_push();
ret = 0;
t_pop();
return ret;
static void mbox_class_init(void)
static void mbox_class_deinit(void)