8 Apr
2005
8 Apr
'05
4:30 p.m.
On Fri, 2005-04-08 at 09:00 -0400, Wayne Lovely wrote:
My initial implementation will have to be against 0.99.xx , but I really like the quota plugin for 1.0
Maybe you could use the quota.h / quota-private.h API so the quota-database.c (or whatever) you write could be directly plugged into 1.0 plugin? Although 0.99.x doesn't have struct mailbox_transaction_context so you'd have to change that.
Here is my understanding of the quota plugin:
- respective main() of imap/pop load up everything in MODULE_DIR
- imap_quota_init is used as an entry point into the plugin glue
- quota.c has routines that just act as an interface to the actual implementation in quota-dirsize.c
Yep.