Permalink
Browse files

More v6 configuration mods (reverse engineering other plugins).

  • Loading branch information...
ksedgwic committed Jan 27, 2012
1 parent caaf330 commit cc0d68b0b9e7269b7d22bfec0b58da169c379273
Showing with 4 additions and 6 deletions.
  1. +4 −6 omzeromq/omzeromq.c
View
@@ -72,18 +72,15 @@ typedef struct _instanceData {
typedef struct configSettings_s {
} configSettings_t;
-SCOPING_SUPPORT; /* must be set AFTER configSettings_t is defined */
-
-BEGINinitConfVars /* (re)set config variables to default values */
-CODESTARTinitConfVars
- resetConfigVariables(NULL, NULL);
+BEGINinitConfVars /* (re)set config variables to default values */
+CODESTARTinitConfVars
+ /* Nothing here so far */
ENDinitConfVars
BEGINcreateInstance
CODESTARTcreateInstance
ENDcreateInstance
-
BEGINisCompatibleWithFeature
CODESTARTisCompatibleWithFeature
if(eFeat == sFEATURERepeatedMsgReduction)
@@ -378,6 +375,7 @@ static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __a
BEGINmodInit()
CODESTARTmodInit
+INITLegCnfVars
*ipIFVersProvided = CURR_MOD_IF_VERSION; /* we only support the current interface specification */
CODEmodInit_QueryRegCFSLineHdlr
CHKiRet(objUse(errmsg, CORE_COMPONENT));

0 comments on commit cc0d68b

Please sign in to comment.