[dovecot-cvs] dovecot/src/lib-storage mail-storage.h,1.35,1.36
cras at procontrol.fi
cras at procontrol.fi
Fri Feb 14 12:46:46 EET 2003
- Previous message: [dovecot-cvs] dovecot/src/imap cmd-idle.c,NONE,1.1 Makefile.am,1.12,1.13 client.c,1.25,1.26 client.h,1.12,1.13 cmd-select.c,1.15,1.16 commands.c,1.8,1.9 commands.h,1.9,1.10 common.h,1.4,1.5 main.c,1.26,1.27
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index index-mailbox-check.c,1.3,1.4 index-storage.c,1.27,1.28 index-storage.h,1.31,1.32 index-sync.c,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-storage
In directory danu:/tmp/cvs-serv6296/src/lib-storage
Modified Files:
mail-storage.h
Log Message:
Support for IDLE extension.
Index: mail-storage.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- mail-storage.h 11 Feb 2003 19:37:16 -0000 1.35
+++ mail-storage.h 14 Feb 2003 10:46:44 -0000 1.36
@@ -33,6 +33,12 @@
MAILBOX_NAME_NOINFERIORS
};
+enum mailbox_sync_type {
+ MAILBOX_SYNC_NONE,
+ MAILBOX_SYNC_ALL,
+ MAILBOX_SYNC_NO_EXPUNGES
+};
+
enum modify_type {
MODIFY_ADD,
MODIFY_REMOVE,
@@ -205,6 +211,11 @@
/* Synchronize the mailbox. If sync_expunges is FALSE, everything
but expunges are synced. */
int (*sync)(struct mailbox *box, int sync_expunges);
+
+ /* Synchronize mailbox in background. It's done until this function is
+ called with sync_type = MAILBOX_SYNC_NONE */
+ void (*auto_sync)(struct mailbox *box, enum mailbox_sync_type sync_type,
+ unsigned int min_newmail_notify_interval);
/* Expunge all mails with \Deleted flag. If notify is TRUE, call
expunge callbacks. Also always does full syncing. */
- Previous message: [dovecot-cvs] dovecot/src/imap cmd-idle.c,NONE,1.1 Makefile.am,1.12,1.13 client.c,1.25,1.26 client.h,1.12,1.13 cmd-select.c,1.15,1.16 commands.c,1.8,1.9 commands.h,1.9,1.10 common.h,1.4,1.5 main.c,1.26,1.27
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index index-mailbox-check.c,1.3,1.4 index-storage.c,1.27,1.28 index-storage.h,1.31,1.32 index-sync.c,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list