summaryrefslogtreecommitdiffstats
path: root/src/lib-storage/index/mbox/mbox-md5.h
blob: 7584052e64bd498576c86d829979e78a20af2937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef MBOX_MD5_H
#define MBOX_MD5_H

struct message_header_line;

struct mbox_md5_vfuncs {
	struct mbox_md5_context *(*init)(void);
	void (*more)(struct mbox_md5_context *ctx,
		     struct message_header_line *hdr);
	void (*finish)(struct mbox_md5_context *ctx,
		       unsigned char result[STATIC_ARRAY 16]);
};

extern struct mbox_md5_vfuncs mbox_md5_apop3d;
extern struct mbox_md5_vfuncs mbox_md5_all;

#endif