diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-01-19 15:12:06 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-01-19 15:12:06 +0100 |
commit | 4124fa03f6ce58893642342a48eee5fe0cf5d478 (patch) | |
tree | 4601825f31b983bd0fad1a95baffe16e4a6a0870 | |
parent | 6db75eb0d2613ab423edfc88222f7a28556a8d03 (diff) | |
download | rsyslog-4124fa03f6ce58893642342a48eee5fe0cf5d478.tar.gz rsyslog-4124fa03f6ce58893642342a48eee5fe0cf5d478.tar.xz rsyslog-4124fa03f6ce58893642342a48eee5fe0cf5d478.zip |
omshell: light cleanup
-rw-r--r-- | tools/omshell.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/tools/omshell.c b/tools/omshell.c index 130d89d8..ac62fa62 100644 --- a/tools/omshell.c +++ b/tools/omshell.c @@ -1,6 +1,13 @@ /* omshell.c * This is the implementation of the build-in shell output module. * + * ************* DO NOT EXTEND THIS MODULE ************** + * This is pure legacy, omprog has much better and more + * secure functionality than this module. It is NOT + * recommended to base new work on it! + * 2012-01-19 rgerhards + * ****************************************************** + * * NOTE: read comments in module-template.h to understand how this file * works! * @@ -56,16 +63,6 @@ typedef struct _instanceData { uchar progName[MAXFNAME]; /* program to execute */ } instanceData; - -typedef struct configSettings_s { - EMPTY_STRUCT /* remove this when data members are added */ -} configSettings_t; -static configSettings_t cs; - -BEGINinitConfVars /* (re)set config variables to default values */ -CODESTARTinitConfVars -ENDinitConfVars - BEGINcreateInstance CODESTARTcreateInstance ENDcreateInstance @@ -147,7 +144,6 @@ ENDqueryEtryPt BEGINmodInit(Shell) CODESTARTmodInit -INITLegCnfVars *ipIFVersProvided = CURR_MOD_IF_VERSION; /* we only support the current interface specification */ CODEmodInit_QueryRegCFSLineHdlr CHKiRet(objUse(errmsg, CORE_COMPONENT)); |