diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-08-03 15:26:28 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-08-03 15:26:28 +0300 |
commit | ecf4a08c149ab0f8b411a22aa1f9607d87925f8b (patch) | |
tree | 6bf474adb332d018d8e5f33c8eadb36a89d9b6cf /include/db.h | |
parent | a0ecf11d5662f5d9a81ea4652b58663fc15ff225 (diff) |
........S. [ZBXNEXT-6802] cleaned more code
Diffstat (limited to 'include/db.h')
-rw-r--r-- | include/db.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/include/db.h b/include/db.h index fe5bcc0b9df..a6b8ec2382f 100644 --- a/include/db.h +++ b/include/db.h @@ -42,20 +42,6 @@ extern int CONFIG_DBPORT; extern int CONFIG_HISTSYNCER_FORKS; extern int CONFIG_UNAVAILABLE_DELAY; -/* typedef struct */ -/* { */ -/* zbx_uint64_t id; */ -/* char *name; */ -/* } */ -/* zbx_id_name_pair_t; */ - -/* ZBX_PTR_VECTOR_DECL(ids_names, zbx_id_name_pair_t*) */ -/* ZBX_PTR_VECTOR_IMPL(ids_names, zbx_id_name_pair_t*) */ - -/* void DBselect_ids_names(const char *sql, zbx_vector_id_name_pair_t *ids); */ - -void DBselect_ids_names(const char *sql, zbx_vector_uint64_t *ids, zbx_vector_str_t *names); - typedef enum { GRAPH_TYPE_NORMAL = 0, @@ -953,4 +939,6 @@ int zbx_db_trigger_get_constant(const DB_TRIGGER *trigger, int index, char **out int zbx_db_trigger_get_itemid(const DB_TRIGGER *trigger, int index, zbx_uint64_t *itemid); void zbx_db_trigger_get_itemids(const DB_TRIGGER *trigger, zbx_vector_uint64_t *itemids); +void DBselect_ids_names(const char *sql, zbx_vector_uint64_t *ids, zbx_vector_str_t *names); + #endif |