summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-02-23 11:58:13 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-02-23 11:58:13 +0000
commitffafca015474728b74f6868898b30989c112a88a (patch)
tree2e3fc985603fb82a35fdf224f8ef3d50a0d32bee /include
parentfc02b3a8e2bff9882b80ccfb46b484513c6b788d (diff)
downloadzabbix-ffafca015474728b74f6868898b30989c112a88a.tar.gz
zabbix-ffafca015474728b74f6868898b30989c112a88a.tar.xz
zabbix-ffafca015474728b74f6868898b30989c112a88a.zip
- improved housekeeper (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2682 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
-rw-r--r--include/db.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/db.h b/include/db.h
index b602da22..9f7aff73 100644
--- a/include/db.h
+++ b/include/db.h
@@ -61,6 +61,7 @@ extern int CONFIG_DBPORT;
#define DB_ESCALATION_LOG struct escalation_log_type
#define DB_GRAPH struct graph_type
#define DB_GRAPH_ITEM struct graph_item_type
+#define DB_HOUSEKEEPER struct housekeeper_type
#ifdef HAVE_MYSQL
#define DB_RESULT MYSQL_RES
@@ -310,6 +311,15 @@ DB_ESCALATION_LOG
int status;
};
+DB_HOUSEKEEPER
+{
+ int housekeeperid;
+ char *tablename;
+ char *field;
+ int value;
+};
+
+
void DBconnect(void);
void DBclose(void);