Lines Matching defs:mail_index

51 typedef void mail_index_sync_lost_handler_t(struct mail_index *index);
131 struct mail_index *index;
155 struct mail_index {
242 void mail_index_register_expunge_handler(struct mail_index *index,
246 void mail_index_unregister_expunge_handler(struct mail_index *index,
248 void mail_index_register_sync_handler(struct mail_index *index, uint32_t ext_id,
251 void mail_index_unregister_sync_handler(struct mail_index *index,
253 void mail_index_register_sync_lost_handler(struct mail_index *index,
255 void mail_index_unregister_sync_lost_handler(struct mail_index *index,
258 int mail_index_create_tmp_file(struct mail_index *index,
261 int mail_index_try_open_only(struct mail_index *index);
262 void mail_index_close_file(struct mail_index *index);
263 int mail_index_reopen_if_changed(struct mail_index *index,
266 void mail_index_write(struct mail_index *index, bool want_rotate);
268 void mail_index_flush_read_cache(struct mail_index *index, const char *path,
271 int mail_index_lock_fd(struct mail_index *index, const char *path, int fd,
276 struct mail_index_map *mail_index_map_alloc(struct mail_index *index);
284 int mail_index_map(struct mail_index *index,
294 void mail_index_fchown(struct mail_index *index, int fd, const char *path);
319 bool mail_index_check_header_compat(struct mail_index *index,
339 void mail_index_fsck_locked(struct mail_index *index);
343 void mail_index_set_error(struct mail_index *index, const char *fmt, ...)
346 void mail_index_set_error_nolog(struct mail_index *index, const char *str);
348 void mail_index_set_syscall_error(struct mail_index *index,
351 void mail_index_file_set_syscall_error(struct mail_index *index,