diff options
Diffstat (limited to 'src/testing/msg_capture.h')
| -rw-r--r-- | src/testing/msg_capture.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/testing/msg_capture.h b/src/testing/msg_capture.h new file mode 100644 index 000000000..164e3b1c5 --- /dev/null +++ b/src/testing/msg_capture.h @@ -0,0 +1,34 @@ +#ifndef _MSB_CAPTURE_H_INCLUDED_ +#define _MSB_CAPTURE_H_INCLUDED_ + +/*++ +/* NAME +/* msg_capture 3h +/* SUMMARY +/* message capture support +/* SYNOPSIS +/* #include <msg_capture.h> +/* DESCRIPTION +/* .nf + + /* + * External API. + */ +typedef struct MSG_CAPTURE MSG_CAPTURE; + +extern MSG_CAPTURE *msg_capt_create(ssize_t init_size); +extern void msg_capt_start(MSG_CAPTURE *mp); +extern void msg_capt_stop(MSG_CAPTURE *mp); +extern const char *msg_capt_expose(MSG_CAPTURE *mp); +extern void msg_capt_free(MSG_CAPTURE *mp); + +/* LICENSE +/* .ad +/* .fi +/* The Secure Mailer license must be distributed with this software. +/* AUTHOR(S) +/* Wietse Venema +/* porcupine.org +/*--*/ + +#endif |
