#ifndef POP3_MIGRATION_PLUGIN_H
#define POP3_MIGRATION_PLUGIN_H

struct module;

void pop3_migration_plugin_init(struct module *module);
void pop3_migration_plugin_deinit(void);

int pop3_migration_get_hdr_sha1(uint32_t mail_seq, struct istream *input,
				unsigned char sha1_r[STATIC_ARRAY SHA1_RESULTLEN],
				bool *have_eoh_r, const char **error_r);

#endif
