Searched defs:template (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/auth/
H A Duserdb-vpopmail.c55 userdb_vpopmail_get_quota(const char *template, const char *vpop_str, argument
61 if (template == NULL || *vpop_str == '\0' ||
72 if (var_expand(quota, template, tab, error_r) < 0)
H A Dauth-policy.c82 void auth_policy_open_key(const char *key, string_t *template) argument
86 str_append_c(template,'"');
87 json_append_escaped(template, t_strndup(key, (ptr-key)));
88 str_append_c(template,'"');
89 str_append_c(template,':');
90 str_append_c(template,'{');
96 void auth_policy_close_key(const char *key, string_t *template) argument
98 while((key = strchr(key, '/')) != NULL) { str_append_c(template,'}'); key++; }
102 void auth_policy_open_and_close_to_key(const char *fromkey, const char *tokey, string_t *template) argument
112 auth_policy_open_key(tokey, template);
179 string_t *template = t_str_new(64); local
[all...]
/dovecot/src/plugins/notify-status/
H A Dnotify-status-plugin.c309 const char *template = mail_user_plugin_getenv(user, NOTIFY_STATUS_SETTING_VALUE_TEMPLATE); local
322 if (template == NULL || *template == '\0')
323 template = NOTIFY_STATUS_SETTING_VALUE_TEMPLATE_DEFAULT;
336 nuser->value_template = template;
/dovecot/src/lib-dict-backend/
H A Ddict-ldap.c197 const char *template, *error; local
208 template = t_strdup_printf("(&(%s=%s)%s)", map->username_attribute, "%{username}", map->filter);
210 template = map->filter;
225 if (var_expand(query_r, template, array_idx(&exp, 0), &error) <= 0) {
226 *error_r = t_strdup_printf("Failed to expand %s: %s", template, error);

Completed in 887 milliseconds