strcmp(vpop_str, "NOQUOTA") == 0)
return "";
- tab = var_expand_table_build('q', format_maildirquota(vpop_str), '\0');
+ tab = t_new(struct var_expand_table, 2);
+ tab[0].key = 'q';
+ tab[0].value = format_maildirquota(vpop_str);
+
quota = t_str_new(128);
var_expand(quota, template, tab);
return str_c(quota);
If key is '\0', it's ignored. If long_key is NULL, it's ignored. */
bool var_has_key(const char *str, char key, const char *long_key) ATTR_PURE;
-const struct var_expand_table *
-var_expand_table_build(char key, const char *value, char key2, ...);
-
#endif