fts-solr-plugin.c revision 6634e45500e81cfa36932203ee69c81745efd3e6
/* Copyright (c) 2006-2015 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "http-client.h"
#include "mail-user.h"
#include "mail-storage-hooks.h"
#include "solr-connection.h"
#include "fts-user.h"
#include "fts-solr-plugin.h"
#include <stdlib.h>
const char *fts_solr_plugin_version = DOVECOT_ABI_VERSION;
struct fts_solr_user_module fts_solr_user_module =
static int
{
const char *const *tmp;
str = "";
/* for backwards compatibility */
} else {
return -1;
}
}
i_error("fts_solr: url setting missing");
return -1;
}
return 0;
}
{
}
{
struct fts_solr_user *fuser;
const char *error;
/* invalid settings, disabling */
return;
}
return;
}
}
}
{
const char *env;
}
static struct mail_storage_hooks fts_solr_mail_storage_hooks = {
};
{
}
void fts_solr_plugin_deinit(void)
{
if (solr_http_client != NULL)
}