/*++ /* NAME /* tls_proxy_server_scan 3 /* SUMMARY /* read TLS_SERVER_XXX structures from stream /* SYNOPSIS /* #include <tls_proxy.h> /* /* int tls_proxy_server_init_scan(scan_fn, stream, flags, ptr) /* ATTR_SCAN_COMMON_FN scan_fn; /* VSTREAM *stream; /* int flags; /* void *ptr; /* /* tls_proxy_server_init_free(init_props) /* TLS_SERVER_INIT_PROPS *init_props; /* /* int tls_proxy_server_start_scan(scan_fn, stream, flags, ptr) /* ATTR_SCAN_COMMON_FN scan_fn; /* VSTREAM *stream; /* int flags; /* void *ptr; /* /* void tls_proxy_server_start_free(start_props) /* TLS_SERVER_START_PROPS *start_props; /* DESCRIPTION /* tls_proxy_server_init_scan() reads a TLS_SERVER_INIT_PROPS /* structure from the named stream using the specified attribute /* scan routine. tls_proxy_server_init_scan() is meant to be passed /* as a call-back function to attr_scan(), as shown below. /* /* tls_proxy_server_init_free() destroys a TLS_SERVER_INIT_PROPS /* structure that was created by tls_proxy_server_init_scan(). /* /* TLS_SERVER_INIT_PROPS *init_props = 0; /* ... /* ... RECV_ATTR_FUNC(tls_proxy_server_init_scan, (void *) &init_props) /* ... /* if (init_props) /* tls_proxy_client_init_free(init_props); /* /* tls_proxy_server_start_scan() reads a TLS_SERVER_START_PROPS /* structure from the named stream using the specified attribute /* scan routine. tls_proxy_server_start_scan() is meant to be passed /* as a call-back function to attr_scan(), as shown below. /* /* tls_proxy_server_start_free() destroys a TLS_SERVER_START_PROPS /* structure that was created by tls_proxy_server_start_scan(). /* /* TLS_SERVER_START_PROPS *start_props = 0; /* ... /* ... RECV_ATTR_FUNC(tls_proxy_server_start_scan, (void *) &start_props) /* ... /* if (start_props) /* tls_proxy_server_start_free(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_scan - receive TLS_SERVER_INIT_PROPS from stream */
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.