/*++ /* NAME /* tls_proxy_context_print /* SUMMARY /* write TLS_ATTR_STATE structure to stream /* SYNOPSIS /* #include <tls_proxy.h> /* /* int tls_proxy_context_print(print_fn, stream, flags, ptr) /* ATTR_PRINT_COMMON_FN print_fn; /* VSTREAM *stream; /* int flags; /* const void *ptr; /* DESCRIPTION /* tls_proxy_context_print() writes the public members of a /* TLS_ATTR_STATE structure to the named stream using the /* specified attribute print routine. tls_proxy_context_print() /* is meant to be passed as a call-back to attr_print(), thusly: /* /* ... SEND_ATTR_FUNC(tls_proxy_context_print, (const void *) tls_context), ... /* 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
/*--*/
#ifdef USE_TLS
/* System library. */
#include <sys_defs.h>
/* Utility library */
#include <attr.h>
/* TLS library. */
#include <tls.h> #include <tls_proxy.h>
/* tls_proxy_context_print - send TLS session state over stream */
int tls_proxy_context_print(ATTR_PRINT_COMMON_FN print_fn, VSTREAM *fp, int flags, constvoid *ptr)
{ const TLS_SESS_STATE *tp = (const TLS_SESS_STATE *) 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.