diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-18 12:58:33 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-18 12:58:33 +0200 |
commit | 66929c7c1b37719b94d11a56b44fcfb23052237c (patch) | |
tree | f462f45b812220bdadef0517be550b96fa9eb98c /grammar/rainerscript.h | |
parent | b76a00dd20b0941a9096d17c491ab1277a2b6fd1 (diff) | |
download | rsyslog-66929c7c1b37719b94d11a56b44fcfb23052237c.tar.gz rsyslog-66929c7c1b37719b94d11a56b44fcfb23052237c.tar.bz2 rsyslog-66929c7c1b37719b94d11a56b44fcfb23052237c.zip |
new ruleengine: implement native JSON in RainerScript
Diffstat (limited to 'grammar/rainerscript.h')
-rw-r--r-- | grammar/rainerscript.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grammar/rainerscript.h b/grammar/rainerscript.h index 51d96e51..f01b1d79 100644 --- a/grammar/rainerscript.h +++ b/grammar/rainerscript.h @@ -72,8 +72,9 @@ struct var { es_str_t *estr; struct cnfexpr *expr; long long n; + struct json_object *json; } d; - char datatype; /* 'N' number, 'S' string, 'E' expression */ + char datatype; /* 'N' number, 'S' string, 'E' expression, 'J' JSON */ }; struct cnfobj { |