userdb-static.c revision 40eb305d9b12cf48400fe3806a8a15ad6d372952
2454dfa32c93c20a8522c6ed42fe057baaac9f9aStephan Bosch/* Copyright (C) 2003 Timo Sirainen */
08c0bffa1c9ccb1ac67689093f3c99cd38cfd3a4Aki Tuomiuserdb_static_template_build(pool_t pool, const char *userdb_name,
08c0bffa1c9ccb1ac67689093f3c99cd38cfd3a4Aki Tuomi const char *args)
39435f00a35a276d329283179b3e7e0351482939Timo Sirainen tmpl = p_new(pool, struct userdb_static_template, 1);
39435f00a35a276d329283179b3e7e0351482939Timo Sirainen p_array_init(&tmpl->args, pool, strarray_length(tmp));
const char *key)
const char *const *args;
unsigned int i, count;
return TRUE;
return FALSE;
const char *const *args;
unsigned int i, count;
return TRUE;
return FALSE;
unsigned int i, count;
t_push();
t_pop();
#ifdef USERDB_STATIC
struct static_context {
void *old_context;
struct static_userdb_module {
switch (result) {
case PASSDB_RESULT_OK:
static struct userdb_module *
const char *value;
&value)) {
NULL,
NULL,