diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-19 11:20:18 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-19 11:20:18 +0000 |
commit | c5f99dc22253e5bd1adbfbfa7c3fd842554b9016 (patch) | |
tree | b278b6bf78bf0c31fba6c89b8200c41f214878e6 /expr.c | |
parent | cd2b24dfc45c4b115ace6d17ab0237511fef3d66 (diff) | |
download | rsyslog-c5f99dc22253e5bd1adbfbfa7c3fd842554b9016.tar.gz rsyslog-c5f99dc22253e5bd1adbfbfa7c3fd842554b9016.tar.xz rsyslog-c5f99dc22253e5bd1adbfbfa7c3fd842554b9016.zip |
- moved config file code to its own file
- finally made CONT_LINES in config the only standard support (the code
contained code for other case, which were never executed by the
preprocessor)
Diffstat (limited to 'expr.c')
-rw-r--r-- | expr.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -6,16 +6,7 @@ * * Module begun 2007-11-30 by Rainer Gerhards * - * Copyright 2007 Rainer Gerhards and Adiscon GmbH. - * - * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - * W A R N I N G - * - * This module is not really existing. The current code has never been - * tested or run. It is just some preparation for when we actually implement - * this fuctionality! - * - * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + * Copyright 2007, 2008 Rainer Gerhards and Adiscon GmbH. * * This file is part of rsyslog. * @@ -56,7 +47,7 @@ ENDobjConstruct(expr) /* ConstructionFinalizer * rgerhards, 2008-01-09 */ -rsRetVal exprConstructFinalize(strm_t *pThis) +rsRetVal exprConstructFinalize(expr_t *pThis) { DEFiRet; @@ -163,5 +154,14 @@ finalize_it: RETiRet; } + +/* Initialize the expr class. Must be called as the very first method + * before anything else is called inside this class. + * rgerhards, 2008-02-19 + */ +BEGINObjClassInit(expr, 1) /* class, version */ + OBJSetMethodHandler(objMethod_CONSTRUCTION_FINALIZER, exprConstructFinalize); +ENDObjClassInit(expr) + /* vi:set ai: */ |