/*++ /* NAME /* msg_capture 3 /* SUMMARY /* message capture support /* SYNOPSIS /* #include <msg_capture.h> /* /* typedef struct MSG_CAPTURE MSG_CAPTURE; /* /* MSG_CAPTURE *msg_capt_create(ssize_t init_size) /* /* void msg_capt_start(MSG_CAPTURE *mp) /* /* void msg_capt_stop(MSG_CAPTURE *mp) /* /* const char *msg_capt_expose(MSG_CAPTURE *mp) /* /* void msg_capt_free(MSG_CAPTURE *mp) /* DESCRIPTION /* This module captures msg(3) logging by temporarily redirecting /* VSTREAM_ER to a buffer. /* /* msg_capt_create() creates a MSG_CAPTURE instance. /* /* msg_capt_start() starts "recording" msg(3) output. It is an /* error to call this function while a recording is in progress. /* /* msg_capt_stop() stops a "recording". It is an error to call this /* function while no recording is in progress. /* /* msg_capt_expose() exposes the contents of a recording as a /* null-terminated string. It is an error to call this function /* while a recording is in progress. /* /* msg_capt_free() destroys a MSG_CAPTURE instance. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* porcupine.org
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.