mailbox-list-index.c revision 51b979b6414b940f04677a7e2d064be119345954
919N/A#include "file-cache.h"
919N/A#include "file-dotlock.h"
919N/A#include "mmap-util.h"
919N/A#include "write-full.h"
919N/A#include "nfs-workarounds.h"
919N/A#include "mail-index-private.h"
919N/A#include "mailbox-list-index-private.h"
919N/Astruct mailbox_list_iter_path {
919N/A unsigned int name_path_len;
98N/Astruct mailbox_list_index_view {
493N/Astruct mailbox_list_iter_ctx {
911N/A unsigned int recurse_level;
int ret;
struct mailbox_list_index *
return index;
struct mailbox_list_index_lookup_key {
const char *name;
bool *failed;
const char **name_r)
const char *name;
const char *name;
int ret;
t_push();
t_pop();
return ret;
int ret;
sizeof(*dir));
if (ret <= 0) {
if (ret < 0)
} while (cur_offset != 0);
if (ret <= 0) {
if (ret < 0)
const char *name,
if (failed)
return FALSE;
return TRUE;
const char *p, *hier_name;
int ret;
if (ret <= 0)
return ret;
if (p == NULL) {
if (dir_offset == 0)
int ret;
if (ret < 0)
return ret;
struct mailbox_list_index_view *
return view;
int ret;
if (ret == 0) {
return ret;
return ret;
struct mailbox_list_iter_ctx *
int ret;
(unsigned int)recurse_level;
if (ret < 0)
return ctx;
const char *name;
unsigned int count;
if (count == 0) {
t_push();
t_pop();
t_pop();
if (dir_offset != 0 &&
dir_offset = 0;