| Server IP : 176.32.38.42 / Your IP : 216.73.216.236 Web Server : LiteSpeed System : Linux ha006.mymail.zone 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64 User : s1225329 ( 1835) PHP Version : 7.4.33 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/usr/include/dovecot/ |
Upload File : |
#ifndef SDBOX_SYNC_H
#define SDBOX_SYNC_H
struct mailbox;
struct sdbox_mailbox;
enum sdbox_sync_flags {
SDBOX_SYNC_FLAG_FORCE = 0x01,
SDBOX_SYNC_FLAG_FSYNC = 0x02,
SDBOX_SYNC_FLAG_FORCE_REBUILD = 0x04
};
enum sdbox_sync_entry_type {
SDBOX_SYNC_ENTRY_TYPE_EXPUNGE,
SDBOX_SYNC_ENTRY_TYPE_MOVE_FROM_ALT,
SDBOX_SYNC_ENTRY_TYPE_MOVE_TO_ALT
};
struct sdbox_sync_context {
struct sdbox_mailbox *mbox;
struct mail_index_sync_ctx *index_sync_ctx;
struct mail_index_view *sync_view;
struct mail_index_transaction *trans;
enum sdbox_sync_flags flags;
ARRAY_TYPE(uint32_t) expunged_uids;
};
int sdbox_sync_begin(struct sdbox_mailbox *mbox, enum sdbox_sync_flags flags,
struct sdbox_sync_context **ctx_r);
int sdbox_sync_finish(struct sdbox_sync_context **ctx, bool success);
int sdbox_sync(struct sdbox_mailbox *mbox, enum sdbox_sync_flags flags);
int sdbox_sync_index_rebuild(struct sdbox_mailbox *mbox, bool force);
struct mailbox_sync_context *
sdbox_storage_sync_init(struct mailbox *box, enum mailbox_sync_flags flags);
#endif