summaryrefslogtreecommitdiffstats
path: root/grammar/rainerscript.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-07-08 19:00:23 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-07-08 19:00:23 +0200
commitf2ef6cd10699ab9f91b9e3e53726512cd290ea68 (patch)
treebfd523b0adce631dfd0914b60c4e66d101d9fd37 /grammar/rainerscript.h
parentd649820ee508a9de3bcf37a9e3b71ff11ca3a8ea (diff)
downloadrsyslog-f2ef6cd10699ab9f91b9e3e53726512cd290ea68.tar.gz
rsyslog-f2ef6cd10699ab9f91b9e3e53726512cd290ea68.tar.xz
rsyslog-f2ef6cd10699ab9f91b9e3e53726512cd290ea68.zip
optimized function representation
Diffstat (limited to 'grammar/rainerscript.h')
-rw-r--r--grammar/rainerscript.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/grammar/rainerscript.h b/grammar/rainerscript.h
index 8b5c36de..b7abf153 100644
--- a/grammar/rainerscript.h
+++ b/grammar/rainerscript.h
@@ -128,7 +128,9 @@ struct cnffparamlst {
struct cnffunc {
unsigned nodetype;
es_str_t *fname;
- struct cnffparamlst *paramlst;
+ unsigned short nParams;
+ unsigned short *fID; /* function ID for built-ins, 0 means use name */
+ struct cnfexpr *expr[];
};
/* future extensions