Cross Reference: mail-index-sync-private.h
xref
: /
dovecot
/
src
/
lib-index
/
mail-index-sync-private.h
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
mail-index-sync-private.h revision 757726d9acbd04cf0d0d4be8ce14e11525476a0b
883
N/A
#
ifndef
__MAIL_INDEX_SYNC_PRIVATE_H
883
N/A
#
define
__MAIL_INDEX_SYNC_PRIVATE_H
883
N/A
883
N/A
struct
mail_index_sync_ctx
{
883
N/A
struct
mail_index
*
index
;
883
N/A
struct
mail_index_view
*
view
;
883
N/A
883
N/A
buffer_t
*
expunges_buf
, *
updates_buf
;
883
N/A
883
N/A
const
struct
mail_transaction_expunge
*
expunges
;
883
N/A
const
struct
mail_transaction_flag_update
*
updates
;
883
N/A
size_t
expunges_count
,
updates_count
;
883
N/A
883
N/A
uint32_t
append_uid_first
,
append_uid_last
;
883
N/A
883
N/A
const
struct
mail_transaction_header
*
hdr
;
883
N/A
const
void
*
data
;
883
N/A
883
N/A
size_t
expunge_idx
,
update_idx
;
883
N/A
uint32_t
next_uid
;
883
N/A
883
N/A
unsigned
int
lock_id
;
1574
N/A
883
N/A
unsigned
int
sync_appends
:
1
;
883
N/A
unsigned
int
sync_dirty
:
1
;
883
N/A
};
883
N/A
883
N/A
struct
mail_index_sync_map_ctx
{
883
N/A
struct
mail_index_view
*
view
;
883
N/A
883
N/A
unsigned
int
update_cache
:
1
;
883
N/A
unsigned
int
cache_locked
:
1
;
1273
N/A
};
883
N/A
883
N/A
extern
struct
mail_transaction_map_functions
mail_index_map_sync_funcs
;
883
N/A
883
N/A
int
mail_index_sync_update_index
(
struct
mail_index_sync_ctx
*
sync_ctx
);
883
N/A
883
N/A
void
883
N/A
mail_index_sync_get_expunge
(
struct
mail_index_sync_rec
*
rec
,
883
N/A
const
struct
mail_transaction_expunge
*
exp
);
1653
N/A
void
883
N/A
mail_index_sync_get_update
(
struct
mail_index_sync_rec
*
rec
,
956
N/A
const
struct
mail_transaction_flag_update
*
update
);
883
N/A
883
N/A
#
endif
883
N/A