diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-20 18:54:20 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-20 18:54:20 +0000 |
commit | 44bb5af7ccef417a1d088527fc02af5f0e8d3dc5 (patch) | |
tree | 6a28892a1253b4f199a4f55c64b1a65fbdd38386 /var.h | |
parent | fa150f43db5f9673a5b9dfb0727767eca60e4453 (diff) | |
download | rsyslog-44bb5af7ccef417a1d088527fc02af5f0e8d3dc5.tar.gz rsyslog-44bb5af7ccef417a1d088527fc02af5f0e8d3dc5.tar.xz rsyslog-44bb5af7ccef417a1d088527fc02af5f0e8d3dc5.zip |
begun expr compile process, first steps done
Diffstat (limited to 'var.h')
-rw-r--r-- | var.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -22,9 +22,11 @@ #ifndef INCLUDED_VAR_H #define INCLUDED_VAR_H +#include "stringbuf.h" /* data types */ -typedef enum { /* do NOT start at 0 to detect uninitialized types after calloc() */ +typedef enum { + VARTYPE_NONE = 0, /* currently no value set */ VARTYPE_PSZ = 1, VARTYPE_SHORT = 2, VARTYPE_INT = 3, @@ -53,6 +55,8 @@ typedef struct var_s { rsRetVal varConstruct(var_t **ppThis); rsRetVal varConstructFinalize(var_t __attribute__((unused)) *pThis); rsRetVal varDestruct(var_t **ppThis); +rsRetVal varSetString(var_t *pThis, rsCStrObj *pCStr); PROTOTYPEObjClassInit(var); +PROTOTYPEObjDebugPrint(var); #endif /* #ifndef INCLUDED_VAR_H */ |