/*++ /* NAME /* dsn_print /* SUMMARY /* write DSN structure to stream /* SYNOPSIS /* #include <dsn_print.h> /* /* int dsn_print(print_fn, stream, flags, ptr) /* ATTR_PRINT_COMMON_FN print_fn; /* VSTREAM *stream; /* int flags; /* void *ptr; /* DESCRIPTION /* dsn_print() writes a DSN structure to the named stream using /* the specified attribute print routine. dsn_print() is meant /* to be passed as a call-back to attr_print(), thusly: /* /* ... SEND_ATTR_FUNC(dsn_print, (const void *) dsn), ... /* DIAGNOSTICS /* Fatal: out of memory. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA /* /* Wietse Venema /* Google, Inc. /* 111 8th Avenue /* New York, NY 10011, USA
/*--*/
/* System library. */
#include <sys_defs.h>
/* Utility library. */
#include <attr.h>
/* Global library. */
#include <mail_proto.h> #include <dsn_print.h>
/* dsn_print - write DSN to stream */
int dsn_print(ATTR_PRINT_COMMON_FN print_fn, VSTREAM *fp, int flags, constvoid *ptr)
{
DSN *dsn = (DSN *) ptr; int ret;
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.