Searched defs:tmpl (Results 1 - 6 of 6) sorted by relevance

/dovecot/src/auth/
H A Dpassdb-template.c15 struct passdb_template *tmpl; local
18 tmpl = p_new(pool, struct passdb_template, 1);
21 p_array_init(&tmpl->args, pool, str_array_length(tmp));
36 array_append(&tmpl->args, &key, 1);
37 array_append(&tmpl->args, &value, 1);
39 return tmpl;
42 int passdb_template_export(struct passdb_template *tmpl, argument
51 if (passdb_template_is_empty(tmpl))
57 args = array_get(&tmpl->args, &count);
75 bool passdb_template_remove(struct passdb_template *tmpl, argument
93 passdb_template_is_empty(struct passdb_template *tmpl) argument
98 passdb_template_get_args(struct passdb_template *tmpl, unsigned int *count_r) argument
[all...]
H A Dpassdb-static.c10 struct passdb_template *tmpl; member in struct:static_passdb_module
26 if (passdb_template_export(module->tmpl, request, &error) < 0) {
105 module->tmpl = passdb_template_build(pool, args);
107 if (passdb_template_remove(module->tmpl, "password", &value))
H A Duserdb-static.c19 struct userdb_template *tmpl; member in struct:static_userdb_module
32 if (userdb_template_export(module->tmpl, auth_request, &error) < 0) {
123 module->tmpl = userdb_template_build(pool, "static", args);
125 if (userdb_template_remove(module->tmpl, "allow_all_users", &value)) {
H A Duserdb-template.c16 struct userdb_template *tmpl; local
21 tmpl = p_new(pool, struct userdb_template, 1);
24 p_array_init(&tmpl->args, pool, str_array_length(tmp));
60 array_append(&tmpl->args, &key, 1);
61 array_append(&tmpl->args, &value, 1);
63 return tmpl;
66 int userdb_template_export(struct userdb_template *tmpl, argument
75 if (userdb_template_is_empty(tmpl))
81 args = array_get(&tmpl->args, &count);
98 bool userdb_template_remove(struct userdb_template *tmpl, argument
116 userdb_template_is_empty(struct userdb_template *tmpl) argument
121 userdb_template_get_args(struct userdb_template *tmpl, unsigned int *count_r) argument
[all...]
H A Duserdb-passwd.c21 struct userdb_template *tmpl; member in struct:passwd_userdb_module
118 if (userdb_template_export(module->tmpl, auth_request, &error) < 0) {
220 module->tmpl = userdb_template_build(pool, "passwd", args);
223 if (userdb_template_remove(module->tmpl, "blocking", &value))
226 if (!userdb_template_is_empty(module->tmpl))
H A Ddb-oauth2.c77 struct passdb_template *tmpl; member in struct:db_oauth2
183 db->tmpl = passdb_template_build(pool, db->set.pass_attrs);
279 const char *const *args = passdb_template_get_args(req->db->tmpl, &n);
368 struct passdb_template *tmpl = req->db->tmpl; local
371 if (passdb_template_is_empty(tmpl))
375 args = passdb_template_get_args(tmpl, &count);

Completed in 15 milliseconds