Mercurial > dovecot > core-2.2
view src/lib-mail/message-header-hash.h @ 22633:9284bdc3c5c5
director: Don't recreate timeout on every user lookup
Recreate it only when the timeout should change.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sat, 04 Nov 2017 01:34:02 +0200 |
parents | dba5febb1752 |
children |
line wrap: on
line source
#ifndef MESSAGE_HEADER_HASH_H #define MESSAGE_HEADER_HASH_H #define MESSAGE_HEADER_HASH_MAX_VERSION 4 struct hash_method; struct message_header_hash_context { bool prev_was_questionmark; }; /* Initialize ctx with zeros. */ void message_header_hash_more(struct message_header_hash_context *ctx, const struct hash_method *method, void *context, unsigned int version, const unsigned char *data, size_t size); #endif