Lines Matching refs:quota
6 #include "quota.h"
12 struct quota {
43 /* Don't include this mailbox in quota */
65 void (*namespace_added)(struct quota *quota,
85 /* quota backends equal if backend1.name == backend2.name */
91 /* Unique quota root name. */
93 /* Name in settings, e.g. "quota", "quota2", .. */
105 /* If user is under quota before saving a mail, allow the last mail to
106 bring the user over quota by this many bytes. */
110 /* Limits in default_rule override backend's quota limits */
120 struct quota *quota;
124 /* this quota root applies only to this namespace. it may also be
127 /* this is set in quota init(), because namespaces aren't known yet.
129 ns=NULL, so when checking if quota root applies only to a specific
135 FS quota) */
141 /* don't enforce quota when saving */
143 /* quota is automatically updated. update() should be called but the
148 /* If user has unlimited quota, disable quota tracking */
150 /* Set while quota is being recalculated to avoid recursion. */
161 struct quota *quota;
173 /* How many bytes/mails we are over quota. Like *_ceil, these are set
190 /* Register storage to all user's quota roots. */
191 void quota_add_user_namespace(struct quota *quota, struct mail_namespace *ns);
196 struct quota *quota_get_mail_user_quota(struct mail_user *user);
225 #define QUOTA_UNKNOWN_RESOURCE_ERROR_STRING "Unknown quota resource"