Searched refs:rule (Results 1 - 7 of 7) sorted by relevance

/dovecot/src/plugins/quota/
H A Dquota-util.c17 struct quota_rule *rule; local
19 array_foreach_modifiable(&root_set->rules, rule) {
20 if (wildcard_match(name, rule->mailbox_mask))
21 return rule;
30 struct quota_rule *rule; local
32 array_foreach_modifiable(&root_set->rules, rule) {
33 if (strcmp(rule->mailbox_mask, name) == 0)
34 return rule;
41 struct quota_rule *rule,
51 if (rule
40 quota_rule_parse_percentage(struct quota_root_settings *root_set, struct quota_rule *rule, int64_t *limit, const char **error_r) argument
65 quota_limit_parse(struct quota_root_settings *root_set, struct quota_rule *rule, const char *unit, uint64_t multiply, int64_t *limit, const char **error_r) argument
104 quota_rule_recalculate_relative_rules(struct quota_rule *rule, int64_t bytes_limit, int64_t count_limit) argument
117 struct quota_rule *rule; local
142 quota_rule_parse_limits(struct quota_root_settings *root_set, struct quota_rule *rule, const char *limits, const char *full_rule_def, bool relative_rule, const char **error_r) argument
229 struct quota_rule *rule; local
306 struct quota_rule rule; local
[all...]
H A Dquota.c132 const char *rule_name, *rule, *error; local
137 rule = mail_user_plugin_getenv(user, rule_name);
138 if (rule == NULL)
141 if (quota_root_add_rule(root_set, rule, &error) < 0) {
142 *error_r = t_strdup_printf("Invalid rule %s: %s",
143 rule, error);
156 const char *rule_name, *rule, *error; local
161 rule = mail_user_plugin_getenv(user, rule_name);
162 if (rule == NULL)
165 if (quota_root_add_warning_rule(root_set, rule,
488 struct quota_rule *rule; local
861 const struct quota_rule *rule; local
1114 struct quota_rule *rule; local
[all...]
H A Dquota-private.h48 struct quota_rule rule; member in struct:quota_warning_rule
60 struct quota_rule *rule,
H A Dquota-count.c32 struct quota_rule *rule; local
40 rule = quota_root_rule_find(root->set, vname);
41 if (rule != NULL && rule->ignore) {
H A Dquota-maildir.c161 struct quota_rule *rule; local
170 rule = quota_root_rule_find(ctx->root->root.set,
172 if (rule != NULL && rule->ignore) {
786 struct quota_rule *rule,
796 "quota-maildir: Invalid Maildir++ quota rule \"%s\"",
801 rule->bytes_limit = bytes;
802 rule->count_limit = count;
785 maildir_quota_parse_rule(struct quota_root_settings *root_set ATTR_UNUSED, struct quota_rule *rule, const char *str, const char **error_r) argument
H A Dquota-storage.c727 const struct quota_rule *rule; local
742 array_foreach(&root->set->rules, rule) {
743 name = rule->mailbox_mask;
/dovecot/src/plugins/virtual/
H A Dvirtual-config.c29 string_t *rule; member in struct:virtual_parse_context
38 virtual_search_args_parse(const string_t *rule, const char **error_r) argument
48 if (str_len(rule) == 0) {
54 input = i_stream_create_from_data(str_data(rule), str_len(rule));
85 i_assert(str_len(ctx->rule) == 0);
90 crc32_str_more(ctx->mbox->search_args_crc32, str_c(ctx->rule));
91 search_args = virtual_search_args_parse(ctx->rule, error_r);
92 str_truncate(ctx->rule, 0);
95 *error_r = t_strconcat("Previous search rule i
[all...]

Completed in 27 milliseconds