struct quota_backend quota_backend_count = {
.name = "count",
+ .use_vsize = TRUE,
.v = {
.alloc = count_quota_alloc,
struct quota_backend quota_backend_fs = {
.name = "fs",
+ .use_vsize = FALSE,
.v = {
.alloc = fs_quota_alloc,
struct quota_backend quota_backend_imapc = {
.name = "imapc",
+ .use_vsize = TRUE,
.v = {
.alloc = imapc_quota_alloc,
struct quota_backend quota_backend_maildir = {
.name = "maildir",
+ .use_vsize = FALSE,
.v = {
.alloc = maildir_quota_alloc,
/* quota backends equal if backend1.name == backend2.name */
const char *name;
struct event *event;
+ bool use_vsize;
struct quota_backend_vfuncs v;
};