summaryrefslogtreecommitdiffstats
path: root/runtime/var.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-07-07 09:41:31 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-07-07 09:41:31 +0200
commit37fd063042821dc328c88e1f7366543decdcb76f (patch)
tree5f14f9144f7c4c9ad3a071535ccc8a4b48b40218 /runtime/var.h
parent06001e951f5b5d0a7919c61057bc7a87b9eb8cba (diff)
downloadrsyslog-37fd063042821dc328c88e1f7366543decdcb76f.tar.gz
rsyslog-37fd063042821dc328c88e1f7366543decdcb76f.tar.xz
rsyslog-37fd063042821dc328c88e1f7366543decdcb76f.zip
added capability to create a printable string of a vmprg
This is needed so that we can create simple testbenches which will check the result of a test (a generated program) via a simple strcmp.
Diffstat (limited to 'runtime/var.h')
-rw-r--r--runtime/var.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/var.h b/runtime/var.h
index bbe7ba33..6d890ec9 100644
--- a/runtime/var.h
+++ b/runtime/var.h
@@ -59,6 +59,7 @@ BEGINinterface(var) /* name must also be changed in ENDinterface macro! */
rsRetVal (*ConvToNumber)(var_t *pThis);
rsRetVal (*ConvToBool)(var_t *pThis);
rsRetVal (*ConvToString)(var_t *pThis);
+ rsRetVal (*Obj2Str)(var_t *pThis, cstr_t*);
rsRetVal (*Duplicate)(var_t *pThis, var_t **ppNew);
ENDinterface(var)
#define varCURR_IF_VERSION 1 /* increment whenever you change the interface above! */