Source
474
474
475
475
void zbx_init_library_dbhigh(const zbx_config_dbhigh_t *config_dbhigh);
476
476
int zbx_db_init(zbx_dc_get_nextid_func_t cb_nextid, unsigned char program, char **error);
477
477
void zbx_db_deinit(void);
478
478
479
479
void zbx_db_init_autoincrement_options(void);
480
480
481
481
int zbx_db_connect(int flag);
482
482
void zbx_db_close(void);
483
483
484
-
int zbx_db_validate_config_features(unsigned char program_type, const zbx_config_dbhigh_t *config_dbhig);
484
+
int zbx_db_validate_config_features(unsigned char program_type, const zbx_config_dbhigh_t *config_dbhigh);
485
485
#if defined(HAVE_MYSQL) || defined(HAVE_POSTGRESQL)
486
486
void zbx_db_validate_config(const zbx_config_dbhigh_t *config_dbhigh);
487
487
#endif
488
488
489
489
#ifdef HAVE_ORACLE
490
490
void zbx_db_statement_prepare(const char *sql);
491
491
void zbx_db_table_prepare(const char *tablename, struct zbx_json *json);
492
492
#endif
493
493
int zbx_db_execute(const char *fmt, ...) __zbx_attr_format_printf(1, 2);
494
494
int zbx_db_execute_once(const char *fmt, ...) __zbx_attr_format_printf(1, 2);