/*++ /* NAME /* dsb_scan /* SUMMARY /* read DSN_BUF from stream /* SYNOPSIS /* #include <dsb_scan.h> /* /* int dsb_scan(scan_fn, stream, flags, ptr) /* ATTR_SCAN_COMMON_FN scan_fn; /* VSTREAM *stream; /* int flags; /* void *ptr; /* DESCRIPTION /* dsb_scan() reads a DSN_BUF from the named stream using the /* specified attribute scan routine. dsb_scan() is meant /* to be passed as a call-back to attr_scan(), thusly: /* /* ... RECV_ATTR_FUNC(dsb_scan, (void *) &dsbuf), ... /* 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 <dsb_scan.h>
/* dsb_scan - read DSN_BUF from stream */
int dsb_scan(ATTR_SCAN_COMMON_FN scan_fn, VSTREAM *fp, int flags, void *ptr)
{
DSN_BUF *dsb = (DSN_BUF *) 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.