dsync-transaction-log-scan.h revision a75d470c9223a75801418fcdda258885c36317e0
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen void *, struct dsync_mail_change *);
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainenint dsync_transaction_log_scan_init(struct mail_index_view *view,
ab750f2469315f289b665d192e48286c0e53d556Timo Sirainenvoid dsync_transaction_log_scan_get_hash(struct dsync_transaction_log_scan *scan,
ab750f2469315f289b665d192e48286c0e53d556Timo Sirainen HASH_TABLE_TYPE(dsync_uid_mail_change) *hash_r);
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen/* Returns TRUE if the entire transaction log was scanned */
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainenbool dsync_transaction_log_scan_has_all_changes(struct dsync_transaction_log_scan *scan);
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen/* If the given UID has been expunged after the initial log scan, create/update
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen a change record for it and return it. */
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainendsync_transaction_log_scan_find_new_expunge(struct dsync_transaction_log_scan *scan,