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:
authorVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2020-02-26 13:11:50 +0300
committerVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2020-02-26 13:11:50 +0300
commit956248f6712917bdce244b970e0780956a2919d9 (patch)
tree7d91c00e2484c2e42ff27b3ffec7fcb0490a2e9f /include/zbxdb.h
parent86555ce32c482963361e02e8d474e1a270f85ccc (diff)
.......PS. [ZBXNEXT-2753] moved database config validation to common function between server and proxy, improved validation
Diffstat (limited to 'include/zbxdb.h')
-rw-r--r--include/zbxdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/zbxdb.h b/include/zbxdb.h
index 074e5a52f25..10909fb578c 100644
--- a/include/zbxdb.h
+++ b/include/zbxdb.h
@@ -43,6 +43,11 @@
#error ZBX_MAX_OVERFLOW_SQL_SIZE is out of range
#endif
+#define ZBX_DB_TLS_CONNECT_PREFERRED_TXT "preferred"
+#define ZBX_DB_TLS_CONNECT_REQUIRED_TXT "required"
+#define ZBX_DB_TLS_CONNECT_VERIFY_CA_TXT "verify_ca"
+#define ZBX_DB_TLS_CONNECT_VERIFY_FULL_TXT "verify_full"
+
typedef char **DB_ROW;
typedef struct zbx_db_result *DB_RESULT;