diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-22 17:55:35 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-22 17:55:35 +0200 |
commit | 7d39740b3d88dbd0432806e5f8da32c49cdb69f1 (patch) | |
tree | 452e5e27c13b49c5b1910f70a283e3a533ee1283 /grammar/rainerscript.h | |
parent | e4e19176298d6ac76c463565fa192c2349731156 (diff) | |
download | rsyslog-7d39740b3d88dbd0432806e5f8da32c49cdb69f1.tar.gz rsyslog-7d39740b3d88dbd0432806e5f8da32c49cdb69f1.tar.bz2 rsyslog-7d39740b3d88dbd0432806e5f8da32c49cdb69f1.zip |
refactor: use common code for message property description processing
in all cases except script var access -- this comes next...
Diffstat (limited to 'grammar/rainerscript.h')
-rw-r--r-- | grammar/rainerscript.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/grammar/rainerscript.h b/grammar/rainerscript.h index 7bbd7456..7a4f1ac9 100644 --- a/grammar/rainerscript.h +++ b/grammar/rainerscript.h @@ -6,7 +6,6 @@ #include <sys/types.h> #include <regex.h> - #define LOG_NFACILITIES 24 /* current number of syslog facilities */ #define CNFFUNC_MAX_ARGS 32 /**< maximum number of arguments that any function can have (among @@ -182,10 +181,7 @@ struct cnfstmt { regex_t *regex_cache;/* cache for compiled REs, if used */ struct cstr_s *pCSCompValue;/* value to "compare" against */ sbool isNegated; - uintTiny propID;/* ID of the requested property */ - //es_str_t *propName;/* name of property for CEE-based filters */ - uchar *propName; - int propNameLen; + msgPropDescr_t prop; /* requested property */ struct cnfstmt *t_then; struct cnfstmt *t_else; } s_propfilt; |