summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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);