diff options
Diffstat (limited to 'src/lib-storage/index/mbox/mbox-md5.h')
-rw-r--r-- | src/lib-storage/index/mbox/mbox-md5.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib-storage/index/mbox/mbox-md5.h b/src/lib-storage/index/mbox/mbox-md5.h new file mode 100644 index 0000000..7584052 --- /dev/null +++ b/src/lib-storage/index/mbox/mbox-md5.h @@ -0,0 +1,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 |