/usr/include/dovecot/imap-sync.h is in dovecot-dev 1:2.2.22-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #ifndef IMAP_SYNC_H
#define IMAP_SYNC_H
enum imap_sync_flags {
IMAP_SYNC_FLAG_SEND_UID = 0x01,
IMAP_SYNC_FLAG_SAFE = 0x02
};
struct client;
struct imap_sync_context *
imap_sync_init(struct client *client, struct mailbox *box,
enum imap_sync_flags imap_flags, enum mailbox_sync_flags flags);
int imap_sync_deinit(struct imap_sync_context *ctx,
struct client_command_context *sync_cmd);
int imap_sync_more(struct imap_sync_context *ctx);
/* Returns TRUE if syncing would be allowed currently. */
bool imap_sync_is_allowed(struct client *client);
bool cmd_sync(struct client_command_context *cmd, enum mailbox_sync_flags flags,
enum imap_sync_flags imap_flags, const char *tagline);
bool cmd_sync_delayed(struct client *client) ATTR_NOWARN_UNUSED_RESULT;
#endif
|