passdb-template.c revision edb35cb1acb3d270e32fc731c0573323da041f2c
/* Copyright (c) 2003-2017 Dovecot authors, see the included COPYING file */
#include "auth-common.h"
#include "array.h"
#include "str.h"
#include "passdb.h"
#include "passdb-template.h"
struct passdb_template {
};
{
struct passdb_template *tmpl;
else
}
return tmpl;
}
struct auth_request *auth_request,
const char **error_r)
{
const struct var_expand_table *table;
unsigned int i, count;
if (passdb_template_is_empty(tmpl))
return 0;
for (i = 0; i < count; i += 2) {
value = "";
else {
str_truncate(str, 0);
return -1;
}
}
return 0;
}
{
const char *const *args;
unsigned int i, count;
for (i = 0; i < count; i += 2) {
return TRUE;
}
}
return FALSE;
}
{
}
{
}