Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Vladishev <aleksander.vladishev@zabbix.com>2010-06-16 16:40:24 +0400
committerAlexander Vladishev <aleksander.vladishev@zabbix.com>2010-06-16 16:40:24 +0400
commitf9066a8beea71a6c123e4436dae9349612de2d6c (patch)
tree9af9da4039b04af39dcddeaf012e35512c1c1e2c /include/discovery.h
parenta176d97fedaece6961b645c5689bfc23d99d8f77 (diff)
- [ZBX-2532] fixed outdated information in "server info" screen element (Sasha)
- [ZBXNEXT-377] added support of passive mode for proxies (Sasha) [Removed unused macros ZBX_POLLER and ZBX_UNUSED(a) (asaveljevs)] [Removed functions zbx_atoui64() and zbx_atod() (asaveljevs)] [svn merge svn://svn.zabbix.com/branches/1.8 -c12802]
Diffstat (limited to 'include/discovery.h')
-rw-r--r--include/discovery.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/discovery.h b/include/discovery.h
new file mode 100644
index 00000000000..1285b7af181
--- /dev/null
+++ b/include/discovery.h
@@ -0,0 +1,31 @@
+
+/*
+** ZABBIX
+** Copyright (C) 2000-2005 SIA Zabbix
+**
+** This program is free software; you can redistribute it and/or modify
+** it under the terms of the GNU General Public License as published by
+** the Free Software Foundation; either version 2 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+**/
+
+#ifndef ZABBIX_DISCOVERY_H
+#define ZABBIX_DISCOVERY_H
+
+#include "zbxjson.h"
+#include "comms.h"
+
+void discovery_update_host(DB_DHOST *dhost, const char *ip, int status, int now);
+void discovery_update_service(DB_DRULE *drule, DB_DCHECK *dcheck, DB_DHOST *dhost,
+ char *ip, int port, int status, const char *value, int now);
+
+#endif