Home
last modified time | relevance | path

Searched refs:mail_cache (Results 1 – 19 of 19) sorted by relevance

/dports/mail/dovecot/dovecot-2.3.17/src/lib-index/
H A Dmail-cache.h8 struct mail_cache;
67 struct mail_cache *mail_cache_open_or_create(struct mail_index *index);
68 struct mail_cache *
70 void mail_cache_free(struct mail_cache **cache);
75 void mail_cache_register_fields(struct mail_cache *cache,
86 mail_cache_register_get_list(struct mail_cache *cache, pool_t pool,
94 void mail_cache_purge_later_reset(struct mail_cache *cache);
103 int mail_cache_purge_with_trans(struct mail_cache *cache,
109 bool mail_cache_exists(struct mail_cache *cache);
112 int mail_cache_open_and_verify(struct mail_cache *cache);
[all …]
H A Dmail-cache-private.h124 struct mail_cache { struct
240 struct mail_cache *cache; argument
331 int mail_cache_lock(struct mail_cache *cache);
334 int mail_cache_flush_and_unlock(struct mail_cache *cache);
336 void mail_cache_unlock(struct mail_cache *cache);
381 int mail_cache_map_all(struct mail_cache *cache);
382 void mail_cache_file_close(struct mail_cache *cache);
383 int mail_cache_reopen(struct mail_cache *cache);
384 int mail_cache_sync_reset_id(struct mail_cache *cache);
398 struct mail_cache *cache;
[all …]
H A Dmail-cache.c31 static void mail_cache_unlink(struct mail_cache *cache) in mail_cache_unlink()
62 struct mail_cache *cache = cache_view->cache; in mail_cache_set_seq_corrupted_reason()
86 void mail_cache_file_close(struct mail_cache *cache) in mail_cache_file_close()
212 int mail_cache_reopen(struct mail_cache *cache) in mail_cache_reopen()
523 int mail_cache_map_all(struct mail_cache *cache) in mail_cache_map_all()
565 struct mail_cache *
568 struct mail_cache *cache; in mail_cache_open_or_create_path()
570 cache = i_new(struct mail_cache, 1); in mail_cache_open_or_create_path()
610 void mail_cache_free(struct mail_cache **_cache) in mail_cache_free()
612 struct mail_cache *cache = *_cache; in mail_cache_free()
[all …]
H A Dmail-cache-decisions.c78 mail_cache_decision_changed_event(struct mail_cache *cache, struct event *event, in mail_cache_decision_changed_event()
88 mail_cache_update_last_used(struct mail_cache *cache, unsigned int field) in mail_cache_update_last_used()
98 struct mail_cache *cache = view->cache; in mail_cache_decision_state_update()
179 struct mail_cache *cache = view->cache; in mail_cache_decision_add()
218 int mail_cache_decisions_copy(struct mail_cache *src, struct mail_cache *dst) in mail_cache_decisions_copy()
H A Dmail-cache-fields.c50 static int field_type_verify(struct mail_cache *cache, unsigned int idx, in field_type_verify()
69 mail_cache_field_update(struct mail_cache *cache, in mail_cache_field_update()
101 void mail_cache_register_fields(struct mail_cache *cache, in mail_cache_register_fields()
169 mail_cache_register_lookup(struct mail_cache *cache, const char *name) in mail_cache_register_lookup()
189 mail_cache_register_get_list(struct mail_cache *cache, pool_t pool, in mail_cache_register_get_list()
210 mail_cache_header_fields_get_offset(struct mail_cache *cache, in mail_cache_header_fields_get_offset()
320 int mail_cache_header_fields_read(struct mail_cache *cache) in mail_cache_header_fields_read()
500 static void copy_to_buf_byte(struct mail_cache *cache, buffer_t *dest, in copy_to_buf_byte()
527 static int mail_cache_header_fields_update_locked(struct mail_cache *cache) in mail_cache_header_fields_update_locked()
564 int mail_cache_header_fields_update(struct mail_cache *cache) in mail_cache_header_fields_update()
[all …]
H A Dmail-cache-purge.c17 struct mail_cache *cache;
99 static uint32_t get_next_file_seq(struct mail_cache *cache) in get_next_file_seq()
124 struct mail_cache *cache = ctx->cache; in mail_cache_purge_get_fields()
366 mail_cache_purge_write(struct mail_cache *cache, in mail_cache_purge_write()
445 mail_cache_purge_has_file_changed(struct mail_cache *cache, in mail_cache_purge_has_file_changed()
481 static int mail_cache_purge_locked(struct mail_cache *cache, in mail_cache_purge_locked()
534 mail_cache_purge_full(struct mail_cache *cache, in mail_cache_purge_full()
586 int mail_cache_purge_with_trans(struct mail_cache *cache, in mail_cache_purge_with_trans()
593 int mail_cache_purge(struct mail_cache *cache, uint32_t purge_file_seq, in mail_cache_purge()
663 void mail_cache_purge_later_reset(struct mail_cache *cache) in mail_cache_purge_later_reset()
[all …]
H A Dmail-cache-sync-update.c11 void mail_cache_expunge_count(struct mail_cache *cache, unsigned int count) in mail_cache_expunge_count()
40 struct mail_cache *cache = sync_ctx->view->index->cache; in mail_cache_handler_deinit()
H A Dmail-cache-transaction.c34 struct mail_cache *cache;
63 static int mail_cache_header_rewrite_fields(struct mail_cache *cache);
192 bool mail_cache_transactions_have_changes(struct mail_cache *cache) in mail_cache_transactions_have_changes()
208 struct mail_cache *cache = ctx->cache; in mail_cache_transaction_purge()
224 struct mail_cache *cache = ctx->cache; in mail_cache_transaction_lock()
299 struct mail_cache *cache = ctx->cache; in mail_cache_transaction_update_index()
704 mail_cache_header_fields_write(struct mail_cache *cache, const buffer_t *buffer) in mail_cache_header_fields_write()
739 static int mail_cache_header_rewrite_fields(struct mail_cache *cache) in mail_cache_header_rewrite_fields()
H A Dmail-cache-lookup.c25 int mail_cache_get_record(struct mail_cache *cache, uint32_t offset, in mail_cache_get_record()
73 struct mail_cache *cache = mail_index_view_get_index(view)->cache; in mail_cache_lookup_cur_offset()
93 mail_cache_lookup_offset(struct mail_cache *cache, struct mail_index_view *view, in mail_cache_lookup_offset()
255 struct mail_cache *cache = ctx->view->cache; in mail_cache_lookup_rec_get_field()
292 struct mail_cache *cache = ctx->view->cache; in mail_cache_lookup_iter_next()
392 mail_cache_field_get_decision(struct mail_cache *cache, unsigned int field_idx) in mail_cache_field_get_decision()
H A Dtest-mail-cache.h9 struct mail_cache *cache;
H A Dmail-index-private.h203 struct mail_cache *cache;
H A Dmail-index.h407 struct mail_cache *mail_index_get_cache(struct mail_index *index);
H A Dmail-index.c856 struct mail_cache *mail_index_get_cache(struct mail_index *index) in mail_index_get_cache()
/dports/mail/dovecot/dovecot-2.3.17/src/doveadm/
H A Ddoveadm-mail-mailbox-cache.c152 struct mail_cache *cache) in cmd_mailbox_cache_decision_run_per_field()
172 struct mail_cache *cache) in cmd_mailbox_cache_decision_run_all_fields()
187 struct mail_cache *cache = t->box->cache; in cmd_mailbox_cache_decision_run_box()
H A Ddoveadm-dump-index.c429 static void dump_cache_hdr(struct mail_cache *cache) in dump_cache_hdr()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/index/
H A Dindex-storage.c35 static void set_cache_decisions(struct mail_cache *cache, in set_cache_decisions()
81 struct mail_cache *cache = box->cache; in index_cache_register_defaults()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/
H A Dmail-storage-private.h379 struct mail_cache *cache;
/dports/games/tkmoo/tkMOO-light-0.3.32/
H A Dsource.tcl9842 global mail_cache
9843 return $mail_cache($folder:$msgno)
9847 global mail_cache
9848 set mail_cache($folder:$msgno) $lines
9852 global mail_cache
9853 return [info exists mail_cache($folder:$msgno)]
/dports/mail/dovecot/dovecot-2.3.17/
H A DChangeLog6233 lib-index: Add comments to struct mail_cache and related
23271 lib-index: Add mail_cache.event with a log prefix and mail-cache category
25577 lib-index: Add mail_cache.last_stat_size
147004 lib-index: Code cleanup: Removed mail_cache.data