[dovecot-cvs] dovecot/src/lib-storage mail-storage.h,1.45,1.46
cras at procontrol.fi
cras at procontrol.fi
Sun Jun 15 07:42:31 EEST 2003
- Previous message: [dovecot-cvs] dovecot/src/lib-index/mbox mbox-index.h,1.29,1.30
mbox-rewrite.c,1.57,1.58 mbox-sync.c,1.30,1.31
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index index-copy.c,1.27,1.28
index-expunge.c,1.15,1.16 index-fetch.c,1.46,1.47
index-search.c,1.73,1.74 index-status.c,1.25,1.26
index-storage.h,1.37,1.38 index-sync.c,1.24,1.25
index-update-flags.c,1.21,1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-storage
In directory danu:/tmp/cvs-serv23333/lib-storage
Modified Files:
mail-storage.h
Log Message:
Only NOOP and CHECK will now always do a real mailbox sync. Other commands
will also do it but no often than once in 5 seconds. Also with maildir we
don't anymore try to sync it before running commands since syncing is now
done automatically whenever we try to access a file that doesn't exist.
Index: mail-storage.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- mail-storage.h 4 Jun 2003 15:57:59 -0000 1.45
+++ mail-storage.h 15 Jun 2003 03:42:29 -0000 1.46
@@ -93,6 +93,11 @@
MAIL_FETCH_IMAP_ENVELOPE = 0x4000
};
+enum mail_sync_flags {
+ MAIL_SYNC_FLAG_NO_EXPUNGES = 0x01,
+ MAIL_SYNC_FLAG_FAST = 0x02
+};
+
enum client_workarounds {
WORKAROUND_OE6_FETCH_NO_NEWMAIL = 0x01,
WORKAROUND_OUTLOOK_IDLE = 0x02
@@ -225,9 +230,8 @@
int (*get_status)(struct mailbox *box, enum mailbox_status_items items,
struct mailbox_status *status);
- /* Synchronize the mailbox. If sync_expunges is FALSE, everything
- but expunges are synced. */
- int (*sync)(struct mailbox *box, int sync_expunges);
+ /* Synchronize the mailbox. */
+ int (*sync)(struct mailbox *box, enum mail_sync_flags flags);
/* Synchronize mailbox in background. It's done until this function is
called with sync_type = MAILBOX_SYNC_NONE */
- Previous message: [dovecot-cvs] dovecot/src/lib-index/mbox mbox-index.h,1.29,1.30
mbox-rewrite.c,1.57,1.58 mbox-sync.c,1.30,1.31
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index index-copy.c,1.27,1.28
index-expunge.c,1.15,1.16 index-fetch.c,1.46,1.47
index-search.c,1.73,1.74 index-status.c,1.25,1.26
index-storage.h,1.37,1.38 index-sync.c,1.24,1.25
index-update-flags.c,1.21,1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list