[dovecot-cvs] dovecot/src/plugins/acl acl-mailbox.c,1.1,1.2
tss-movial at dovecot.org
tss-movial at dovecot.org
Tue May 9 14:57:44 EEST 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-copy.c,
1.43, 1.44 maildir-save.c, 1.70, 1.71 maildir-storage.h, 1.49, 1.50
- Next message: [dovecot-cvs] dovecot/src/plugins/quota quota-private.h, 1.7,
1.8 quota-storage.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/plugins/acl
In directory talvi:/tmp/cvs-serv603/plugins/acl
Modified Files:
acl-mailbox.c
Log Message:
Changed mailbox_save_*() API a bit: Moved the struct mail *dest_mail to
save_init() instead of being in save_finish(). This way you can request
wanted fields from the mail while it's being saved.
With maildir the message is being parsed at the same time as it's being
saved, and the results are stored into cache file.
Index: acl-mailbox.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/acl/acl-mailbox.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- acl-mailbox.c 27 Feb 2006 16:30:39 -0000 1.1
+++ acl-mailbox.c 9 May 2006 11:57:41 -0000 1.2
@@ -179,7 +179,7 @@
enum mail_flags flags, struct mail_keywords *keywords,
time_t received_date, int timezone_offset,
const char *from_envelope, struct istream *input,
- bool want_mail, struct mail_save_context **ctx_r)
+ struct mail *dest_mail, struct mail_save_context **ctx_r)
{
struct acl_mailbox *abox = ACL_CONTEXT(t->box);
@@ -188,7 +188,7 @@
return abox->super.save_init(t, flags, keywords, received_date,
timezone_offset, from_envelope,
- input, want_mail, ctx_r);
+ input, dest_mail, ctx_r);
}
static int
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-copy.c,
1.43, 1.44 maildir-save.c, 1.70, 1.71 maildir-storage.h, 1.49, 1.50
- Next message: [dovecot-cvs] dovecot/src/plugins/quota quota-private.h, 1.7,
1.8 quota-storage.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list