maildir-storage.c revision 73a552a9ed06cd6017ad4ee4b252a8b38c8ac42d
2ronwalf#include "home-expand.h"
2ronwalf#include "mkdir-parents.h"
2ronwalf#include "unlink-directory.h"
2ronwalf#include "maildir-storage.h"
2ronwalf#include "maildir-uidlist.h"
2ronwalf#include "maildir-keywords.h"
2ronwalf#include "maildir-sync.h"
2ronwalf#include "index-mail.h"
38daenzerorama#include <stdio.h>
2ronwalfstruct rename_context {
24daenzerorama return path;
24daenzeroramastatic int
if (debug) {
path);
if (debug) {
if (debug)
if (debug)
if (debug)
if (p == NULL)
} while (p != NULL);
if (debug)
static struct mail_storage *
const char *error;
return NULL;
return NULL;
return NULL;
const char *path;
if (debug)
return FALSE;
if (debug)
return FALSE;
return TRUE;
const char *root_dir;
return NULL;
MAILDIR_PLUSPLUS_DRIVER_NAME) != 0) {
return NULL;
if (verify) {
if (!verify)
const char *path;
name);
name);
const char *path;
static struct mailbox *
int shared;
if (shared)
if (!shared)
return NULL;
static struct mailbox *
const char *path;
return NULL;
return NULL;
return NULL;
return NULL;
return NULL;
return NULL;
path);
return NULL;
const char *path;
int fd;
const char *name,
int fd;
const char *name)
int count;
count = 0;
dest);
count++;
const char *const *names;
unsigned int i, count;
int ret;
ret = 0;
const char *name;
for (i = 0; i < count; i++) {
t_push();
t_pop();
t_pop();
return ret;
int ret;
bool found;
if (ret < 0)
int ret = 0;
return ret;
int ret;
MAILDIR_PLUSPLUS_DRIVER_NAME) == 0) {
const char *path;
t_push();
t_pop();
switch (type) {
const char *path;
t_push();
t_pop();
if (ret == 0)
return ret;
static void maildir_class_init(void)
static void maildir_class_deinit(void)