diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-04-21 21:03:18 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-04-21 21:03:18 (GMT) |
commit | 73ed1b3d2cdeffe239f2f4b5237cac1a661516b6 (patch) | |
tree | 2f1e6c13531209667163c9aec4c49b8c4b9c1ba0 /tls/tls.h | |
parent | 027b9ea484ea3067496696cb8fe2cb33eb6c8b7e (diff) | |
parent | ea8141157cab7d1b2f6cff5463988d1f68f66db3 (diff) | |
download | blt-73ed1b3d2cdeffe239f2f4b5237cac1a661516b6.zip blt-73ed1b3d2cdeffe239f2f4b5237cac1a661516b6.tar.gz blt-73ed1b3d2cdeffe239f2f4b5237cac1a661516b6.tar.bz2 |
Merge commit 'ea8141157cab7d1b2f6cff5463988d1f68f66db3' as 'tls'
Diffstat (limited to 'tls/tls.h')
-rw-r--r-- | tls/tls.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tls/tls.h b/tls/tls.h new file mode 100644 index 0000000..9707515 --- /dev/null +++ b/tls/tls.h @@ -0,0 +1,41 @@ +/* + * Copyright (C) 1997-2000 Matt Newman <matt@novadigm.com> + * + * $Header: /cvsroot/tls/tls/tls.h,v 1.2 2000/01/20 01:59:38 aborr Exp $ + * + * TLS (aka SSL) Channel - can be layered on any bi-directional + * Tcl_Channel (Note: Requires Trf Core Patch) + * + * This was built from scratch based upon observation of OpenSSL 0.9.2B + * + * Addition credit is due for Andreas Kupries (a.kupries@westend.com), for + * providing the Tcl_ReplaceChannel mechanism and working closely with me + * to enhance it to support full fileevent semantics. + * + * Also work done by the follow people provided the impetus to do this "right":- + * tclSSL (Colin McCormack, Shared Technology) + * SSLtcl (Peter Antman) + * + */ +#ifndef _TLS_H +#define _TLS_H + +#include <tcl.h> /* Internal definitions for Tcl. */ + +#ifdef TCL_STORAGE_CLASS +# undef TCL_STORAGE_CLASS +#endif +#ifdef BUILD_tls +# define TCL_STORAGE_CLASS DLLEXPORT +#else +# define TCL_STORAGE_CLASS DLLIMPORT +#endif + +/* + * Forward declarations + */ + +EXTERN int Tls_Init _ANSI_ARGS_ ((Tcl_Interp *)); +EXTERN int Tls_SafeInit _ANSI_ARGS_ ((Tcl_Interp *)); + +#endif /* _TLS_H */ |