Displaying 4 results from an estimated 4 matches for "quota_root_transaction_context".
2007 Dec 10
1
Dovceot 1.0.8 compile error after rewrite patch
...lugins/quota -std=gnu99 -g -O2 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT trash-plugin.lo -MD
-MP -MF .deps/trash-plugin.Tpo -c trash-plugin.c -fPIC -DPIC
-o .libs/trash-plugin.o
trash-plugin.c:110: warning: 'struct quota_root_transaction_context'
declared inside parameter list
trash-plugin.c:110: warning: its scope is only this definition or
declaration, which is probably not what you want
trash-plugin.c: In function 'trash_try_clean_mails':
trash-plugin.c:134: error: dereferencing pointer to incomplete type
trash-plugin.c:205:...
2006 Nov 28
1
dovecot-1.0.rc15 with quota-rewrite on FreeBSD
...ugins/quota -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT trash-plugin.lo -MD -MP -MF .deps/trash-plugin.Tpo -c trash-plugin.c -fPIC -DPIC -o .libs/trash-plugin.o
trash-plugin.c:103: warning: "struct quota_root_transaction_context" declared inside parameter list
trash-plugin.c:103: warning: its scope is only this definition or declaration, which is probably not what you want
trash-plugin.c: In function `trash_try_clean_mails':
trash-plugin.c:118: error: dereferencing pointer to incomplete type
trash-plugin.c: At top...
2006 Jun 20
1
Group-based filesystem quota
Hello. After using Dovecot for over a year, I have just started
experimenting with the filesystem quotas, and I have a suggestion for
improvement. On my mail server, I use group-based quotas, and would
like to have Dovecot be able to report these quotas.
It should be simple to implement, requiring only changes to the
quota-fs.c file of the quota plugin. Simply changing USRQUOTA to
2006 Aug 21
2
Filesystem Quota Enhancement Patch
...r = limit_r_c;
*value_r = value_r_c;
return 1;
}
static int
fs_quota_set_resource(struct quota_root *root,
const char *name __attr_unused__,
uint64_t value __attr_unused__)
{
quota_set_error(root->setup->quota, MAIL_STORAGE_ERR_NO_PERMISSION);
return -1;
}
static struct quota_root_transaction_context *
fs_quota_transaction_begin(struct quota_root *root,
struct quota_transaction_context *ctx)
{
struct quota_root_transaction_context *root_ctx;
root_ctx = i_new(struct quota_root_transaction_context, 1);
root_ctx->root = root;
root_ctx->ctx = ctx;
root_ctx->disabled = TRUE;
re...