fts-backend-lucene.c revision de62ce819d59a529530da4b57be1b8d6dad13d6b
286N/A#include "hex-binary.h"
286N/A#include "strescape.h"
286N/A#include "mail-namespace.h"
286N/A#include "mail-storage-private.h"
286N/A#include "fts-expunge-log.h"
286N/A#include "lucene-wrapper.h"
286N/A#include "fts-lucene-plugin.h"
286N/Astruct lucene_fts_backend {
286N/A unsigned int selected_box_generation;
286N/A char *first_box_vname;
286N/A unsigned int added_msgs;
286N/A bool lucene_opened;
286N/A bool last_indexed_uid_set;
static struct fts_backend_update_context *
unsigned int expunges;
return TRUE;
return FALSE;
return FALSE;
return expunges > 0 &&
int fd;
return ret;
i_unreached();
return TRUE;
int ret;
T_BEGIN {
} T_END;
return ret;
int ret;
if (ret == 0) {
if (ret >= 0)
return ret;
int ret;
T_BEGIN {
result);
} T_END;
return ret;
static unsigned int wstr_hash(const void *p)
const wchar_t *s = p;
const char *guid;
for (j = 0; j < MAILBOX_GUID_HEX_LENGTH; j++)
int ret;
T_BEGIN {
if (ret == 0) {
result);
} T_END;
return ret;
.flags = 0,