summaryrefslogtreecommitdiffstats
path: root/include/db.h
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-10-17 09:34:54 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-10-17 09:34:54 +0000
commite3eca8ce0ecfaf8fbb40c2de6099bf1dfe811ca9 (patch)
tree904b9441b9bb0688ddf6e1d89e5603222125529a /include/db.h
parent622a603eec30f6bf1d65218dc0e9ca861e16e12c (diff)
- support of delta flag in item definition (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@994 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/db.h')
-rw-r--r--include/db.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/db.h b/include/db.h
index d7a9daa7..e5787927 100644
--- a/include/db.h
+++ b/include/db.h
@@ -79,7 +79,10 @@ DB_ITEM
int port;
int delay;
int history;
+ double prevorgvalue;
+ int prevorgvalue_null;
double lastvalue;
+ int lastclock;
char *lastvalue_str;
int lastvalue_null;
double prevvalue;
@@ -89,6 +92,7 @@ DB_ITEM
time_t lastcheck;
time_t nextcheck;
int value_type;
+ int delta;
};
DB_FUNCTION