maildir-sync.h revision 7c65a07e04f28f2a881d83989f85f9ad0e87a7b4
#ifndef MAILDIR_SYNC_H
#define MAILDIR_SYNC_H
/* All systems accessing the filesystem must have their clock less than this
many seconds apart from each others. 0 works only for local filesystems. */
#define MAILDIR_SYNC_SECS 1
/* After moving this many mails from new/ to cur/, check if we need to touch
the uidlist lock. */
#define MAILDIR_SLOW_MOVE_COUNT 100
/* readdir() should be pretty fast to do, but check anyway every n files
to see if we need to touch the uidlist lock. */
#define MAILDIR_SLOW_CHECK_COUNT 10000
struct maildir_mailbox;
struct maildir_sync_context;
struct maildir_keywords_sync_ctx;
struct maildir_index_sync_context;
struct mailbox_sync_context *
struct maildir_sync_context *maildir_sync_ctx,
struct maildir_index_sync_context **ctx_r);
bool partial);
struct maildir_keywords_sync_ctx *
struct mail_index_view *list_view,
struct mail_index_transaction *trans,
#endif