summaryrefslogtreecommitdiff
path: root/tls.h
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2016-01-01 11:17:17 -0700
committerJohn Denker <jsd@av8n.com>2016-01-01 16:34:35 -0800
commit0fefe3a661fb5155f811d5a6412194a566f7de0a (patch)
tree11a712a24d842e9eeb58afcce80fcf75742ba121 /tls.h
parent67c1e178e1f1d171181e574186468b68a810ee25 (diff)
newly created files now added to repo
Diffstat (limited to 'tls.h')
-rw-r--r--tls.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tls.h b/tls.h
new file mode 100644
index 0000000..a4650af
--- /dev/null
+++ b/tls.h
@@ -0,0 +1,16 @@
+#ifndef TLS_H
+#define TLS_H
+
+#include <openssl/ssl.h>
+
+extern int smtps;
+extern SSL *ssl;
+
+void ssl_free(SSL *myssl);
+void ssl_exit(int status);
+# define _exit ssl_exit
+
+const char *ssl_error();
+const char *ssl_error_str();
+
+#endif