userdb-template.c revision 48b28b91852a975a495a6fe82f5db5b35333500a
/* Copyright (c) 2003-2014 Dovecot authors, see the included COPYING file */
#include "auth-common.h"
#include "array.h"
#include "str.h"
#include "var-expand.h"
#include "userdb.h"
#include "userdb-template.h"
struct userdb_template {
};
struct userdb_template *
{
struct userdb_template *tmpl;
else
i_fatal("%s userdb: Invalid uid: %s",
}
i_fatal("%s userdb: Invalid gid: %s",
}
} else if (*key == '\0') {
i_fatal("%s userdb: Empty key (=%s)",
}
}
return tmpl;
}
struct auth_request *auth_request)
{
const struct var_expand_table *table;
unsigned int i, count;
for (i = 0; i < count; i += 2) {
value = "";
else {
str_truncate(str, 0);
}
}
}
{
const char *const *args;
unsigned int i, count;
for (i = 0; i < count; i += 2) {
return TRUE;
}
}
return FALSE;
}
{
}