diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-02-27 16:11:32 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-02-27 16:11:32 +0000 |
commit | 7010360900f322825ba134dfba7faab10e35726b (patch) | |
tree | 92e2c4d0c9d9dda4be792768b97ce43044ef5016 /include | |
parent | 4ef02c6bf4306d3bb868e80f221f3536ca01cdd4 (diff) | |
download | mailutils-7010360900f322825ba134dfba7faab10e35726b.tar.gz mailutils-7010360900f322825ba134dfba7faab10e35726b.tar.bz2 |
(struct mu_auth_data): New field `flags'.
(mu_auth_data_set_quota): New function
Diffstat (limited to 'include')
-rw-r--r-- | include/mailutils/mu_auth.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mailutils/mu_auth.h b/include/mailutils/mu_auth.h index 9e03629f5..69c121316 100644 --- a/include/mailutils/mu_auth.h +++ b/include/mailutils/mu_auth.h @@ -45,9 +45,14 @@ struct mu_auth_data char *mailbox; mu_off_t quota; + int flags; + int change_uid; }; +#define MU_AF_QUOTA 0x1 +#define MU_HAS_QUOTA(a) ((a)->flags & MU_AF_QUOTA) + typedef int (*mu_auth_fp) (struct mu_auth_data **data, const void *key, void *func_data, @@ -109,6 +114,7 @@ extern int mu_auth_data_alloc (struct mu_auth_data **ptr, const char *shell, const char *mailbox, int change_uid); +void mu_auth_data_set_quota (struct mu_auth_data *ptr, mu_off_t q); extern void mu_auth_data_free (struct mu_auth_data *ptr); extern void mu_auth_data_destroy (struct mu_auth_data **ptr); |