diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2016-08-15 02:39:03 +0300 |
---|---|---|
committer | Costa Tsaousis <costa@tsaousis.gr> | 2016-08-15 02:39:03 +0300 |
commit | f0575ccc983e41843bd19616b7ef0a729297ceba (patch) | |
tree | ef7bc94d8b75f7f6903830b1ae22561400972f26 /src/eval.h | |
parent | 3b0e4ff9001f1186d1264d3265891728f44fee75 (diff) |
operational health monitoring - we got alarms! - no notifications yet though
Diffstat (limited to 'src/eval.h')
-rw-r--r-- | src/eval.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/eval.h b/src/eval.h index 9b13a644e1..0b174a2083 100644 --- a/src/eval.h +++ b/src/eval.h @@ -5,6 +5,7 @@ typedef struct eval_variable { char *name; + uint32_t hash; struct rrdvar *rrdvar; struct eval_variable *next; } EVAL_VARIABLE; @@ -13,6 +14,7 @@ typedef struct eval_expression { const char *source; const char *parsed_as; + calculated_number *this; calculated_number result; int error; @@ -22,7 +24,7 @@ typedef struct eval_expression { void *nodes; // custom data to be used for looking up variables - void *data; + struct rrdcalc *rrdcalc; } EVAL_EXPRESSION; #define EVAL_VALUE_INVALID 0 |