dbox-storage.c revision 1701e3f91107051b1704721bf1dc1e32491faaf9
bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (C) 2005-2007 Timo Sirainen */
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch#define CREATE_MODE 0770 /* umask() should limit it more */
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Bosch/* How often to touch the uidlist lock file when using KEEP_LOCKED flag */
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Boschconst struct dotlock_settings default_uidlist_dotlock_set = {
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Boschconst struct dotlock_settings default_file_dotlock_set = {
56dd928c164ec5c0d1158a1760154b58c5f1f6e7Stephan Boschstatic const struct dotlock_settings default_new_file_dotlock_set = {
return FALSE;
if (p != NULL)
const char *const *tmp;
return FALSE;
t_push();
t_pop();
return ret;
const char **error_r)
if (debug)
if (debug)
if (p == NULL)
} while (p != NULL);
const char **error_r)
error_r) < 0)
const char *path;
if (debug)
return FALSE;
if (debug)
return FALSE;
return TRUE;
static struct mailbox *
return NULL;
return NULL;
mbox);
static struct mailbox *
const char *path;
return NULL;
return NULL;
path);
return NULL;
const char *name,
const char *path;
if (p == NULL)
const char *mail_path;
t_push();
ret = 0;
t_pop();
return ret;
static void dbox_class_init(void)
static void dbox_class_deinit(void)
NULL,
NULL,
NULL,
NULL,