/*++ /* NAME /* tls_proxy_server_print 3 /* SUMMARY /* write TLS_SERVER_XXX structures to stream /* SYNOPSIS /* #include <tls_proxy.h> /* /* int tls_proxy_server_init_print(print_fn, stream, flags, ptr) /* ATTR_PRINT_COMMON_FN print_fn; /* VSTREAM *stream; /* int flags; /* void *ptr; /* /* int tls_proxy_server_start_print(print_fn, stream, flags, ptr) /* ATTR_PRINT_COMMON_FN print_fn; /* VSTREAM *stream; /* int flags; /* void *ptr; /* DESCRIPTION /* tls_proxy_server_init_print() writes a TLS_SERVER_INIT_PROPS /* structure to the named stream using the specified attribute print /* routine. tls_proxy_server_init_print() is meant to be passed as /* a call-back to attr_print(), thusly: /* /* ... SEND_ATTR_FUNC(tls_proxy_server_init_print, (const void *) init_props), ... /* /* tls_proxy_server_start_print() writes a TLS_SERVER_START_PROPS /* structure to the named stream using the specified attribute print /* routine. tls_proxy_server_start_print() is meant to be passed as /* a call-back to attr_print(), thusly: /* /* ... SEND_ATTR_FUNC(tls_proxy_server_start_print, (const void *) start_props), ... /* DIAGNOSTICS /* Fatal: out of memory. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* 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_server_init_print - send TLS_SERVER_INIT_PROPS over stream */
int tls_proxy_server_init_print(ATTR_PRINT_COMMON_FN print_fn, VSTREAM *fp, int flags, constvoid *ptr)
{ const TLS_SERVER_INIT_PROPS *props = (const TLS_SERVER_INIT_PROPS *) 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.