Source
22
22
23
23
#include "zbxcommon.h"
24
24
#include "zbxdbhigh.h"
25
25
26
26
typedef enum {
27
27
ZBX_HA_MODE_STANDALONE,
28
28
ZBX_HA_MODE_CLUSTER
29
29
}
30
30
zbx_ha_mode_t;
31
31
32
-
void zbx_init_library_dbupgrade(zbx_get_program_type_f get_program_type_cb);
32
+
void zbx_init_library_dbupgrade(zbx_get_program_type_f get_program_type_cb,
33
+
zbx_get_config_int_f get_config_timeout_cb);
33
34
34
35
int zbx_db_check_version_and_upgrade(zbx_ha_mode_t ha_mode);
35
36
36
37
#endif