1
#ifndef _TLS_PROXY_H_INCLUDED_
2
#define _TLS_PROXY_H_INCLUDED_
8
/* postscreen TLS proxy support
10
/* #include <tls_proxy_clnt.h>
28
#define TLS_PROXY_FLAG_ROLE_SERVER (1<<0) /* request server role */
29
#define TLS_PROXY_FLAG_ROLE_CLIENT (1<<1) /* request client role */
30
#define TLS_PROXY_FLAG_SEND_CONTEXT (1<<2) /* send TLS context */
34
extern VSTREAM *tls_proxy_open(const char *, int, VSTREAM *, const char *,
36
extern TLS_SESS_STATE *tls_proxy_context_receive(VSTREAM *);
37
extern void tls_proxy_context_free(TLS_SESS_STATE *);
38
extern int tls_proxy_context_print(ATTR_PRINT_MASTER_FN, VSTREAM *, int, void *);
39
extern int tls_proxy_context_scan(ATTR_SCAN_MASTER_FN, VSTREAM *, int, void *);
46
/* The Secure Mailer license must be distributed with this software.
49
/* IBM T.J. Watson Research
51
/* Yorktown Heights, NY 10598, USA