mdbox-storage-rebuild.c revision b58aafbd21b365117538f73f306d22f75acd91f1
919N/A#include "dbox-sync-rebuild.h"
919N/A#include "mdbox-storage.h"
919N/A#include "mdbox-file.h"
919N/A#include "mdbox-map-private.h"
919N/A#include "mdbox-sync.h"
919N/A#include "mdbox-storage-rebuild.h"
919N/Astruct mdbox_rebuild_msg {
493N/Astruct rebuild_msg_mailbox {
970N/Astruct mdbox_storage_rebuild_context {
493N/A for (i = 0; i < MAIL_GUID_128_SIZE; i++) {
493N/Astatic struct mdbox_storage_rebuild_context *
493N/A prev_offset = 0;
810N/A if (prev_offset == 0) {
970N/Astatic struct mdbox_rebuild_msg *
if (ret <= 0) {
int ret = 0;
MAILBOX_NOSELECT)) == 0) {
T_BEGIN {
} T_END;
if (ret < 0) {
return ret;
int ret;
if (ret > 0)
if (ret < 0)
if (ret <= 0) {
unsigned int i, count;
for (i = 0; i < count; i++) {
const void *data;
bool expunged;
unsigned int i, count;
struct dirent *d;
unsigned int dir_len;
int ret = 0;
if (ret <= 0) {
T_BEGIN {
} T_END;
if (ret < 0) {
if (ret < 0 ||
int ret;
if (ret == 0)
return ret;