passdb-static.c revision a3d1e23660ddf744f3b86e1104d81f9e161db721
/* Copyright (c) 2010 Dovecot authors, see the included COPYING file */
#include "auth-common.h"
#include "array.h"
#include "str.h"
#include "var-expand.h"
#include "passdb.h"
#define STATIC_PASS_SCHEME "PLAIN"
struct static_passdb_module {
struct passdb_module module;
};
static void
{
struct static_passdb_module *module =
const struct var_expand_table *table;
const char *const *args;
unsigned int i, count;
*password_r = "";
for (i = 0; i < count; i += 2) {
str_truncate(str, 0);
}
*password_r = value;
else {
}
}
}
static void
{
const char *static_password;
int ret;
STATIC_PASS_SCHEME, "static");
if (ret <= 0) {
return;
}
}
static void
{
const char *static_password;
}
static struct passdb_module *
{
struct static_passdb_module *module;
T_BEGIN {
const char *const *tmp;
value = "";
else
}
} T_END;
}
struct passdb_module_interface passdb_static = {
"static",
NULL,
NULL,
};