initial implementation of RainerScript functions & strlen()
authorRainer Gerhards <rgerhards@adiscon.com>
Tue, 10 Mar 2009 16:37:13 +0000 (17:37 +0100)
committerRainer Gerhards <rgerhards@adiscon.com>
Tue, 10 Mar 2009 16:37:13 +0000 (17:37 +0100)
commite8499c6d33d09f6d8b42df72da1661be0ef0f088
tree577caaba6912f8f88f8bc29b4105eafe44fd4024
parentf67cf99ee5cd88bda499aa52d6008bb7d4afe483
initial implementation of RainerScript functions & strlen()

- implemented function support in RainerScript. That means the engine
  parses and compile functions, as well as executes a few build-in
  ones. Dynamic loading and registration of functions is not yet
  supported - but we now have a good foundation to do that later on.
  NOTE: nested function calls are not yet supported due to a design
  issue with the function call VM instruction set design.
- implemented the strlen() RainerScript function
ChangeLog
runtime/conf.c
runtime/ctok.c
runtime/expr.c
runtime/rsyslog.h
runtime/vm.c
runtime/vmop.c
runtime/vmop.h