diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-07-23 10:10:31 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-07-23 10:10:31 +0300 |
commit | f7d55e028eb6178eeef3e4d2e9b039a5a1bb727a (patch) | |
tree | 53af3a829e3e5971b4eb730d5d7e5538d1c0da7c /include/db.h | |
parent | 388c98c31c7f024961b5db79ff0b093def1a9f0e (diff) |
........S. [ZBXNEXT-6768] fixed various review comments
Diffstat (limited to 'include/db.h')
-rw-r--r-- | include/db.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/db.h b/include/db.h index 94d9e39a055..6583a4db01d 100644 --- a/include/db.h +++ b/include/db.h @@ -651,6 +651,14 @@ typedef enum } zbx_conn_flags_t; +zbx_uint64_t DBadd_interface(zbx_uint64_t hostid, unsigned char type, unsigned char useip, + const char *ip, const char *dns, unsigned short port, zbx_conn_flags_t flags); +void DBadd_interface_snmp(const zbx_uint64_t interfaceid, const unsigned char version, + const unsigned char bulk, const char *community, const char *securityname, + const unsigned char securitylevel, const char *authpassphrase, const char *privpassphrase, + const unsigned char authprotocol, const unsigned char privprotocol, const char *contextname, + const zbx_uint64_t hostid); + const char *DBget_inventory_field(unsigned char inventory_link); void DBset_host_inventory(zbx_uint64_t hostid, int inventory_mode); |