summaryrefslogtreecommitdiffstats
path: root/vm.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-25 10:28:23 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-25 10:28:23 +0000
commita24cee11b718603fbc681e4a7a23f50c8d785ad7 (patch)
treea192855ad3f853e1b75fcdeab6c9d56e9e7299da /vm.h
parent838ab14a17a60116d6fd51ebcf12416d736af546 (diff)
downloadrsyslog-a24cee11b718603fbc681e4a7a23f50c8d785ad7.tar.gz
rsyslog-a24cee11b718603fbc681e4a7a23f50c8d785ad7.tar.xz
rsyslog-a24cee11b718603fbc681e4a7a23f50c8d785ad7.zip
- added some temporary testing aids to conf.c, so that we can debug
expression support as it is implemented - fixed a couple of bugs in expression system - added more operations to virtual machine - now works well with constants
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm.h b/vm.h
index c9173255..1234349e 100644
--- a/vm.h
+++ b/vm.h
@@ -49,6 +49,7 @@ BEGINinterface(vm) /* name must also be changed in ENDinterface macro! */
rsRetVal (*ConstructFinalize)(vm_t __attribute__((unused)) *pThis);
rsRetVal (*Destruct)(vm_t **ppThis);
rsRetVal (*ExecProg)(vm_t *pThis, vmprg_t *pProg);
+ rsRetVal (*PopBoolFromStack)(vm_t *pThis, var_t **ppVar); /* there are a few cases where we need this... */
ENDinterface(vm)
#define vmCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */