/* Copyright (c) 2003-2018 Dovecot authors, see the included COPYING file */
#include "auth-common.h"
#include "userdb.h"
#include "auth-cache.h"
#if defined(BUILTIN_LUA) || defined(PLUGIN_BUILD)
#include "db-lua.h"
struct dlua_userdb_module {
const char *file;
};
{
(struct dlua_userdb_module *)_module;
const char *error;
if (result == USERDB_RESULT_INTERNAL_FAILURE)
"userdb-lua: %s", error);
}
static struct userdb_module *
{
} else {
i_fatal("Invalid value %s. "
"Field blocking must be yes or no",
value);
}
else /* explicitly disable auth caching for lua */
} else {
}
fields++;
}
i_fatal("userdb-lua: Missing mandatory file= parameter");
}
}
{
(struct dlua_userdb_module *)_module;
const char *error;
}
{
(struct dlua_userdb_module *)_module;
}
static struct userdb_iterate_context *
void *context)
{
(struct dlua_userdb_module *)_module;
}
{
}
{
return auth_lua_userdb_iterate_deinit(ctx);
}
#ifndef PLUGIN_BUILD
#else
struct userdb_module_interface userdb_lua_plugin =
#endif
{
"lua",
};
#else
.name = "lua"
};
#endif