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:
authorMartins Abele <martins.abele@zabbix.com>2020-01-22 17:27:31 +0300
committerMartins Abele <martins.abele@zabbix.com>2020-01-29 18:21:36 +0300
commitd83cb370f25c33b7d16f997bcb1cf8ae46f4222e (patch)
tree4981b31ff04353aa94bfde324fde966de42a0459 /include/zbxdb.h
parent752b77cdd01e7a745c7f19d764509539a18ebb77 (diff)
.......PS. [ZBXNEXT-5641] enabled TLS for server connection to mysql and postgres databases
Diffstat (limited to 'include/zbxdb.h')
-rw-r--r--include/zbxdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/zbxdb.h b/include/zbxdb.h
index 5dcffa32d04..485f3ad22db 100644
--- a/include/zbxdb.h
+++ b/include/zbxdb.h
@@ -78,7 +78,8 @@ zbx_db_value_t;
int zbx_db_init(const char *dbname, const char *const db_schema, char **error);
void zbx_db_deinit(void);
-int zbx_db_connect(char *host, char *user, char *password, char *dbname, char *dbschema, char *dbsocket, int port);
+int zbx_db_connect(char *host, char *user, char *password, char *dbname, char *dbschema, char *dbsocket, int port,
+ char *tlsmode, char *cert, char *key, char *ca, char *cipher);
void zbx_db_close(void);
int zbx_db_begin(void);