/dovecot/src/lib-mail/ |
H A D | mail-user-hash.c | 27 const struct var_expand_table tab[] = { local 36 ret = var_expand(str, format, tab, &error);
|
/dovecot/src/lib-lda/ |
H A D | mail-send.c | 42 struct var_expand_table *tab; local 44 tab = t_malloc_no0(sizeof(stack_tab)); 45 memcpy(tab, stack_tab, sizeof(stack_tab)); 46 return tab;
|
H A D | mail-deliver.c | 165 const struct var_expand_table *tab; local 175 tab = mail_deliver_ctx_get_log_var_expand_table(ctx, msg); 176 if (var_expand(str, ctx->set->deliver_log_format, tab, &error) <= 0) {
|
/dovecot/src/plugins/acl/ |
H A D | acl-shared-storage.c | 49 const struct var_expand_table tab[] = { local 57 if (var_expand(str, sstorage->ns_prefix_pattern, tab, &error) <= 0) {
|
/dovecot/src/login-common/ |
H A D | login-settings.c | 128 struct var_expand_table *tab; local 130 tab = t_malloc_no0(sizeof(stack_tab)); 131 memcpy(tab, stack_tab, sizeof(stack_tab)); 132 return tab;
|
H A D | client-common.c | 729 get_var_expand_users(struct var_expand_table *tab, const char *user) argument 733 tab[0].value = user; 734 tab[1].value = t_strcut(user, '@'); 735 tab[2].value = i_strchr_to_next(user, '@'); 738 tab[i].value = str_sanitize(tab[i].value, 80); 744 struct var_expand_table *tab; local 746 tab = t_malloc_no0(sizeof(login_var_expand_empty_tab)); 747 memcpy(tab, login_var_expand_empty_tab, 751 get_var_expand_users(tab, clien 897 const struct var_expand_table tab[3] = { local [all...] |
/dovecot/src/auth/ |
H A D | auth-request-var-expand.c | 75 struct var_expand_table *tab, *ret_tab; local 83 tab = ret_tab = t_new(struct var_expand_table, 85 tab += *count; 88 memcpy(tab, auth_request_var_expand_static_tab, 89 auth_count * sizeof(*tab)); 92 tab[0].value = escape_func(username, auth_request); 93 tab[1].value = escape_func(t_strcut(username, '@'), 95 tab[2].value = i_strchr_to_next(username, '@'); 96 if (tab[2].value != NULL) 97 tab[ [all...] |
H A D | test-auth-request-var-expand.c | 73 const struct var_expand_table *tab = local 78 test_assert(var_expand(str, input, tab, &error) == 1); 95 const struct var_expand_table *tab; local 101 tab = auth_request_get_var_expand_table(&test_request, test_escape); 102 test_assert(var_expand(str, test_input_short, tab, &error) == 1); 106 test_assert(var_expand(str, test_input_long, tab, &error) == 1);
|
H A D | userdb-vpopmail.c | 58 struct var_expand_table *tab; local 67 tab = t_new(struct var_expand_table, 2); 68 tab[0].key = 'q'; 69 tab[0].value = format_maildirquota(vpop_str); 72 if (var_expand(quota, template, tab, error_r) < 0)
|
H A D | db-checkpassword.c | 213 const struct var_expand_table *tab; local 216 tab = auth_request_get_var_expand_table(request, NULL); 217 for (i = 0; tab[i].key != '\0' || tab[i].long_key != NULL; i++) { 228 if (tab[i].long_key != NULL && tab[i].value != NULL && 229 strcasecmp(tab[i].long_key, "password") != 0) { 231 t_str_ucase(tab[i].long_key), 232 tab[i].value));
|
H A D | auth-cache.c | 30 const struct var_expand_table *tab = auth_request_var_expand_static_tab; local 33 for (i = 0; tab[i].key != '\0' || tab[i].long_key != NULL; i++) { 35 if (key[0] == tab[i].key) { 39 } else if (tab[i].long_key != NULL) { 40 if (strncmp(key, tab[i].long_key, size) == 0 && 41 tab[i].long_key[size] == '\0') { 67 const struct var_expand_table *tab = local 73 if (tab->key != '\0') 74 str_append_c(str, tab [all...] |
H A D | db-ldap.c | 1765 const struct var_expand_table *tab; local 1796 tab = auth_request_get_var_expand_table( 1798 if (var_expand_with_funcs(ctx->var, field->name, tab,
|
/dovecot/src/lib-storage/index/shared/ |
H A D | shared-storage.c | 227 struct var_expand_table tab[] = { local 237 if (var_expand(prefix, storage->ns_prefix_pattern, tab, &error) <= 0) { 271 if ((ret = mail_user_get_home(owner, &tab[3].value)) < 0) { 282 var_expand(location, storage->location, tab, &error) <= 0) {
|
/dovecot/src/lmtp/ |
H A D | client.c | 115 const struct var_expand_table *tab = local 118 client->pool, tab, &error) <= 0)
|
/dovecot/src/submission/ |
H A D | submission-client.c | 354 const struct var_expand_table *tab = local 361 tab, mail_user_var_expand_func_table,
|
/dovecot/src/pop3/ |
H A D | pop3-commands.c | 635 const struct var_expand_table tab[] = { local 646 tab, &error) <= 0) {
|
H A D | pop3-client.c | 546 const struct var_expand_table *tab = local 553 tab, mail_user_var_expand_func_table,
|
/dovecot/src/lib-storage/ |
H A D | mail-user.c | 317 struct var_expand_table *tab; local 319 tab = p_malloc(user->pool, sizeof(stack_tab)); 320 memcpy(tab, stack_tab, sizeof(stack_tab)); 322 user->var_expand_table = tab;
|
H A D | mail-storage-service.c | 437 struct var_expand_table *tab; local 439 tab = t_malloc_no0(sizeof(stack_tab)); 440 memcpy(tab, stack_tab, sizeof(stack_tab)); 441 return tab;
|
/dovecot/src/director/ |
H A D | director.c | 831 struct var_expand_table tab[] = { local 857 if (var_expand(s_sock, dir->set->director_flush_socket, tab, &error) <= 0) {
|
/dovecot/src/imap/ |
H A D | imap-client.c | 286 const struct var_expand_table *tab = local 293 tab, mail_user_var_expand_func_table,
|
/dovecot/src/imap-hibernate/ |
H A D | imap-client.c | 476 struct var_expand_table *tab; local 478 tab = t_malloc_no0(sizeof(stack_tab)); 479 memcpy(tab, stack_tab, sizeof(stack_tab)); 480 return tab;
|
/dovecot/src/doveadm/ |
H A D | doveadm-dsync.c | 238 struct var_expand_table *tab; local 243 tab = t_malloc_no0(sizeof(static_tab)); 244 memcpy(tab, static_tab, sizeof(static_tab)); 246 tab[0].value = mail_user; 247 tab[1].value = login; 248 tab[2].value = host; 263 if (var_expand(str, *args, tab, &error) <= 0 ||
|
/dovecot/src/lib-sql/ |
H A D | driver-cassandra.c | 646 struct var_expand_table tab[] = { local 654 if (var_expand(path, db->metrics_path, tab, &error) <= 0) {
|