/* Copyright (c) 2005-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "restrict-access.h"
#include "ioloop.h"
#include "randgen.h"
#include "str.h"
#include "hostpid.h"
#include "stats-dist.h"
#include "process-title.h"
#include "env-util.h"
#include "module-dir.h"
#include "master-service.h"
#include "master-service-settings.h"
#include "sql-api.h"
#include "dict.h"
#include "dict-client.h"
#include "dict-commands.h"
#include "dict-connection.h"
#include "dict-settings.h"
#include "main.h"
static bool proctitle_updated;
static void
{
}
{
if (!proctitle_updated)
}
void dict_proctitle_update_later(void)
{
if (!dict_settings->verbose_proctitle)
return;
if (to_proctitle == NULL)
}
static void dict_die(void)
{
/* hope that other processes relying on us will die first. */
}
{
}
static void main_preinit(void)
{
/* Load built-in SQL drivers (if any) */
#ifdef HAVE_CDB
#endif
}
static void main_init(void)
{
void **sets;
dict_settings = sets[0];
/* for berkeley db library */
NULL));
}
/* Register only after loading modules. They may contain SQL drivers,
which we'll need to register. */
}
static void main_deinit(void)
{
}
{
};
const char *error;
if (master_getopt(master_service) > 0)
return FATAL_DEFAULT;
&error) < 0)
main_preinit();
main_init();
main_deinit();
return 0;
}