Skip to content

Commit

Permalink
lib-storage: Make index_mail_want_cache() global
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Feb 20, 2018
1 parent 994ecfe commit a1e1240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib-storage/index/index-mail.c
Expand Up @@ -815,8 +815,7 @@ index_mail_body_parsed_cache_bodystructure(struct index_mail *mail,
}
}

static bool
index_mail_want_cache(struct index_mail *mail, enum index_cache_field field)
bool index_mail_want_cache(struct index_mail *mail, enum index_cache_field field)
{
struct mail *_mail = &mail->mail.mail;
enum mail_fetch_field fetch_field;
Expand Down
1 change: 1 addition & 0 deletions src/lib-storage/index/index-mail.h
Expand Up @@ -256,6 +256,7 @@ bool index_mail_get_cached_bodystructure(struct index_mail *mail,
const char **value_r);
const uint32_t *index_mail_get_vsize_extension(struct mail *_mail);

bool index_mail_want_cache(struct index_mail *mail, enum index_cache_field field);
void index_mail_cache_add(struct index_mail *mail, enum index_cache_field field,
const void *data, size_t data_size);
void index_mail_cache_add_idx(struct index_mail *mail, unsigned int field_idx,
Expand Down

0 comments on commit a1e1240

Please sign in to comment.