Mercurial > dovecot > core-2.2
view src/lib-storage/index/index-sync-changes.h @ 10660:56b1d4dd9c7d HEAD
lib-storage: *_mailboxes don't descend from index_mailbox anymore, it's now a context.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 07 Feb 2010 17:30:24 +0200 |
parents | 2558ba736207 |
children | 957060ca5b69 |
line wrap: on
line source
#ifndef INDEX_SYNC_CHANGES_H #define INDEX_SYNC_CHANGES_H struct index_sync_changes_context * index_sync_changes_init(struct mail_index_sync_ctx *index_sync_ctx, struct mail_index_view *sync_view, struct mail_index_transaction *sync_trans, bool dirty_flag_updates); void index_sync_changes_deinit(struct index_sync_changes_context **_ctx); void index_sync_changes_reset(struct index_sync_changes_context *ctx); void index_sync_changes_delete_to(struct index_sync_changes_context *ctx, uint32_t last_uid); void index_sync_changes_read(struct index_sync_changes_context *ctx, uint32_t uid, bool *sync_expunge_r, uint8_t expunged_guid_128[MAIL_GUID_128_SIZE]); bool index_sync_changes_have(struct index_sync_changes_context *ctx); uint32_t index_sync_changes_get_next_uid(struct index_sync_changes_context *ctx); void index_sync_changes_apply(struct index_sync_changes_context *ctx, pool_t pool, uint8_t *flags, ARRAY_TYPE(keyword_indexes) *keywords, enum mail_index_sync_type *sync_type_r); #endif