summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-06 14:15:12 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-06 14:15:12 +0000
commit9711b46feca5338a3fdad0c0af75a16940507552 (patch)
treef444eb613277eca1ee5c0fa7c3d8938106316d78 /include
parent48abc572054dbefdb59d2b1524844d0b88cf99b3 (diff)
downloadzabbix-9711b46feca5338a3fdad0c0af75a16940507552.tar.gz
zabbix-9711b46feca5338a3fdad0c0af75a16940507552.tar.xz
zabbix-9711b46feca5338a3fdad0c0af75a16940507552.zip
- [DEV-109] Server changes
git-svn-id: svn://svn.zabbix.com/trunk@5329 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
-rw-r--r--include/db.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/db.h b/include/db.h
index 0419dfcc..3bde2bdd 100644
--- a/include/db.h
+++ b/include/db.h
@@ -466,6 +466,9 @@ DB_HTTPTESTITEM
zbx_httpitem_type_t type;
};
+#define DB_NODE "%s"
+#define DBnode_local(fieldid) DBnode(fieldid, CONFIG_NODEID)
+const char *DBnode(const char *fieldid, const int nodeid);
int DBping(void);