From 6812fceef4f955610e6075c798f729e7a0617b24 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 27 Jun 2012 12:01:08 +0200 Subject: 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. --- action.c | 28 ---------------------------- action.h | 2 -- 2 files changed, 30 deletions(-) diff --git a/action.c b/action.c index 92c21cb3..9bf43d6f 100644 --- a/action.c +++ b/action.c @@ -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) { diff --git a/action.h b/action.h index 4da0be24..5f142b00 100644 --- a/action.h +++ b/action.h @@ -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); -- cgit