a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen void *, struct dsync_mail_change *);
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainenint dsync_transaction_log_scan_init(struct mail_index_view *view,
08e9fec5ba9e1a26e658c4224207d666b6ced27dTimo Sirainendsync_transaction_log_scan_get_hash(struct dsync_transaction_log_scan *scan);
55d33f807765482eb47374aaaced1fe714e0b256Timo Sirainendsync_transaction_log_scan_get_attr_hash(struct dsync_transaction_log_scan *scan);
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,