diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-06-27 12:01:08 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-06-27 12:01:08 +0200 |
commit | 6812fceef4f955610e6075c798f729e7a0617b24 (patch) | |
tree | 42e86983cd6c89bd911da2d3f2af9dbcab16eefa | |
parent | 85c7f63eee765f44baf828b94a02ea6ee0b09747 (diff) | |
download | rsyslog-6812fceef4f955610e6075c798f729e7a0617b24.tar.gz rsyslog-6812fceef4f955610e6075c798f729e7a0617b24.tar.xz rsyslog-6812fceef4f955610e6075c798f729e7a0617b24.zip |
cleanup: remove config scoping system left-over
this was an experiment in early v6 that did not work out. I forgot to
remove this code when I undid it.
-rw-r--r-- | action.c | 28 | ||||
-rw-r--r-- | action.h | 2 |
2 files changed, 0 insertions, 30 deletions
@@ -2010,34 +2010,6 @@ initConfigVariables(void) } -/* save our config and create a new scope. Note that things are messed up if - * this is called while the config is already saved (we currently do not - * have a stack as the design is we need none! - * rgerhards, 2010-07-23 - */ -rsRetVal -actionNewScope(void) -{ - DEFiRet; - memcpy(&cs_save, &cs, sizeof(cs)); - initConfigVariables(); - RETiRet; -} - - -/* restore previously saved scope. - * rgerhards, 2010-07-23 - */ -rsRetVal -actionRestoreScope(void) -{ - DEFiRet; - memcpy(&cs, &cs_save, sizeof(cs)); - RETiRet; -} - - - rsRetVal actionNewInst(struct nvlst *lst, action_t **ppAction) { @@ -107,8 +107,6 @@ rsRetVal actionWriteToAction(action_t *pAction); rsRetVal actionCallHUPHdlr(action_t *pAction); rsRetVal actionClassInit(void); rsRetVal addAction(action_t **ppAction, modInfo_t *pMod, void *pModData, omodStringRequest_t *pOMSR, struct cnfparamvals *actParams, struct cnfparamvals *queueParams, int bSuspended); -rsRetVal actionNewScope(void); -rsRetVal actionRestoreScope(void); rsRetVal activateActions(void); rsRetVal actionNewInst(struct nvlst *lst, action_t **ppAction); |