1/* 2 * Copyright (C) 1997-2000 Matt Newman <matt@novadigm.com> 3 * 4 * $Header: /cvsroot/tls/tls/tls.h,v 1.2 2000/01/20 01:59:38 aborr Exp $ 5 * 6 * TLS (aka SSL) Channel - can be layered on any bi-directional 7 * Tcl_Channel (Note: Requires Trf Core Patch) 8 * 9 * This was built from scratch based upon observation of OpenSSL 0.9.2B 10 * 11 * Addition credit is due for Andreas Kupries (a.kupries@westend.com), for 12 * providing the Tcl_ReplaceChannel mechanism and working closely with me 13 * to enhance it to support full fileevent semantics. 14 * 15 * Also work done by the follow people provided the impetus to do this "right":- 16 * tclSSL (Colin McCormack, Shared Technology) 17 * SSLtcl (Peter Antman) 18 * 19 */ 20#ifndef _TLS_H 21#define _TLS_H 22 23#include <tcl.h> /* Internal definitions for Tcl. */ 24 25#ifdef TCL_STORAGE_CLASS 26# undef TCL_STORAGE_CLASS 27#endif 28#ifdef BUILD_tls 29# define TCL_STORAGE_CLASS DLLEXPORT 30#else 31# define TCL_STORAGE_CLASS DLLIMPORT 32#endif 33 34/* 35 * Forward declarations 36 */ 37 38EXTERN int Tls_Init _ANSI_ARGS_ ((Tcl_Interp *)); 39EXTERN int Tls_SafeInit _ANSI_ARGS_ ((Tcl_Interp *)); 40 41#endif /* _TLS_H */ 42