/*++ /* NAME /* tlsproxy_state 3 /* SUMMARY /* Postfix SMTP server /* SYNOPSIS /* #include <tlsproxy.h> /* /* TLSP_STATE *tlsp_state_create(service, plaintext_stream) /* const char *service; /* VSTREAM *plaintext_stream; /* /* void tlsp_state_free(state) /* TLSP_STATE *state; /* DESCRIPTION /* This module provides TLSP_STATE constructor and destructor /* routines. /* /* tlsp_state_create() initializes session context. /* /* tlsp_state_free() destroys session context. If the handshake /* was in progress, it logs a 'handshake failed' message. /* /* Arguments: /* .IP service /* The service name for the TLS library. This argument is copied. /* The destructor will automatically destroy the string. /* .IP plaintext_stream /* The VSTREAM between postscreen(8) and tlsproxy(8). /* The destructor will automatically close the stream. /* .PP /* Other structure members are set by the application. The /* text below describes how the TLSP_STATE destructor /* disposes of them. /* .IP plaintext_buf /* NBBIO for plaintext I/O. /* The destructor will automatically turn off read/write/timeout /* events and destroy the NBBIO. /* .IP ciphertext_fd /* The file handle for the remote SMTP client socket. /* The destructor will automatically turn off read/write events /* and close the file handle. /* .IP ciphertext_timer /* The destructor will automatically turn off this time event. /* .IP timeout /* Time limit for plaintext and ciphertext I/O. /* .IP remote_endpt /* Printable remote endpoint name. /* The destructor will automatically destroy the string. /* .IP server_id /* TLS session cache identifier. /* The destructor will automatically destroy the string. /* DIAGNOSTICS /* All errors are fatal. /* 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
/*--*/
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.