typedef struct eval_variable {
char *name;
+ uint32_t hash;
struct rrdvar *rrdvar;
struct eval_variable *next;
} EVAL_VARIABLE;
const char *source;
const char *parsed_as;
+ calculated_number *this;
calculated_number result;
int error;
void *nodes;
// custom data to be used for looking up variables
- void *data;
+ struct rrdcalc *rrdcalc;
} EVAL_EXPRESSION;
#define EVAL_VALUE_INVALID 0