Current File : //usr/local/apps/dovecot/include/dovecot/message-header-hash.h
#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