summaryrefslogtreecommitdiffstats
path: root/grammar/rainerscript.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-18 12:58:33 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-18 12:58:33 +0200
commit66929c7c1b37719b94d11a56b44fcfb23052237c (patch)
treef462f45b812220bdadef0517be550b96fa9eb98c /grammar/rainerscript.h
parentb76a00dd20b0941a9096d17c491ab1277a2b6fd1 (diff)
downloadrsyslog-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.h3
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 {