Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndris Zeila <andris.zeila@zabbix.com>2019-12-04 11:38:09 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2019-12-04 11:38:43 +0300
commit135111a0fd1f16f203226f8632881ac0a8bf541a (patch)
tree7227ecade845225e5e656fa90778c4c843302a74 /include/zbxcrypto.h
parent1b82a278782e22c3d0b0e3f1dd05df219f4e6397 (diff)
.......... [ZBXNEXT-5609] fixed builds with custom openssl location
* commit '4855dd3116fabaf2a109832a6b0ebd4931cb10e5': .......... [ZBXNEXT-5609] fixed builds with custom openssl location (cherry picked from commit eca7009488f12a982711f07ce3ab6c06d7ae0d4c)
Diffstat (limited to 'include/zbxcrypto.h')
-rw-r--r--include/zbxcrypto.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/include/zbxcrypto.h b/include/zbxcrypto.h
new file mode 100644
index 00000000000..1916e7b83ad
--- /dev/null
+++ b/include/zbxcrypto.h
@@ -0,0 +1,44 @@
+/*
+** Zabbix
+** Copyright (C) 2001-2019 Zabbix SIA
+**
+** This program is free software; you can redistribute it and/or modify
+** it under the terms of the GNU General Public License as published by
+** the Free Software Foundation; either version 2 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+**/
+
+#ifndef ZABBIX_ZBXCRYPTO_H
+#define ZABBIX_ZBXCRYPTO_H
+
+#if defined(HAVE_POLARSSL) || defined(HAVE_GNUTLS) || defined(HAVE_OPENSSL)
+
+#if defined(_WINDOWS)
+
+typedef struct zbx_thread_sendval_tls_args ZBX_THREAD_SENDVAL_TLS_ARGS;
+
+void zbx_tls_pass_vars(ZBX_THREAD_SENDVAL_TLS_ARGS *args);
+void zbx_tls_take_vars(ZBX_THREAD_SENDVAL_TLS_ARGS *args);
+
+#endif /* #if defined(_WINDOWS) */
+
+void zbx_tls_validate_config(void);
+void zbx_tls_library_deinit(void);
+void zbx_tls_init_parent(void);
+void zbx_tls_init_child(void);
+void zbx_tls_free(void);
+void zbx_tls_free_on_signal(void);
+void zbx_tls_version(void);
+
+#endif /* #if defined(HAVE_POLARSSL) || defined(HAVE_GNUTLS) || defined(HAVE_OPENSSL) */
+
+#endif /* ZABBIX_DISK_H */