mail-index.h (dovecot-2.3.16) | : | mail-index.h (dovecot-2.3.17) | ||
---|---|---|---|---|
skipping to change at line 453 | skipping to change at line 453 | |||
struct mail_index_transaction_commit_resul t *result_r); | struct mail_index_transaction_commit_resul t *result_r); | |||
void mail_index_transaction_rollback(struct mail_index_transaction **t); | void mail_index_transaction_rollback(struct mail_index_transaction **t); | |||
/* Discard all changes in the transaction. */ | /* Discard all changes in the transaction. */ | |||
void mail_index_transaction_reset(struct mail_index_transaction *t); | void mail_index_transaction_reset(struct mail_index_transaction *t); | |||
/* When committing transaction, drop flag/keyword updates for messages whose | /* When committing transaction, drop flag/keyword updates for messages whose | |||
mdoseq is larger than max_modseq. Save those messages' sequences to the | mdoseq is larger than max_modseq. Save those messages' sequences to the | |||
given array. */ | given array. */ | |||
void mail_index_transaction_set_max_modseq(struct mail_index_transaction *t, | void mail_index_transaction_set_max_modseq(struct mail_index_transaction *t, | |||
uint64_t max_modseq, | uint64_t max_modseq, | |||
ARRAY_TYPE(seq_range) *seqs); | ARRAY_TYPE(seq_range) *seqs); | |||
/* Returns the resulting highest-modseq after this commit. This can be called | ||||
only if transaction log is locked, which normally means only during mail | ||||
index syncing. If there are any appends, they all must have been assigned | ||||
UIDs before calling this. */ | ||||
uint64_t mail_index_transaction_get_highest_modseq(struct mail_index_transaction | ||||
*t); | ||||
/* Returns the view transaction was created for. */ | /* Returns the view transaction was created for. */ | |||
struct mail_index_view * | struct mail_index_view * | |||
mail_index_transaction_get_view(struct mail_index_transaction *t); | mail_index_transaction_get_view(struct mail_index_transaction *t); | |||
/* Returns TRUE if the given sequence is being expunged in this transaction. */ | /* Returns TRUE if the given sequence is being expunged in this transaction. */ | |||
bool mail_index_transaction_is_expunged(struct mail_index_transaction *t, | bool mail_index_transaction_is_expunged(struct mail_index_transaction *t, | |||
uint32_t seq); | uint32_t seq); | |||
/* Returns a view containing the mailbox state after changes in transaction | /* Returns a view containing the mailbox state after changes in transaction | |||
are applied. The view can still be used after transaction has been | are applied. The view can still be used after transaction has been | |||
End of changes. 1 change blocks. | ||||
6 lines changed or deleted | 0 lines changed or added |