summaryrefslogtreecommitdiffstats
path: root/runtime/module-template.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/module-template.h')
-rw-r--r--runtime/module-template.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/module-template.h b/runtime/module-template.h
index 965d48d0..f44cb54a 100644
--- a/runtime/module-template.h
+++ b/runtime/module-template.h
@@ -459,7 +459,14 @@ static rsRetVal queryEtryPt(uchar *name, rsRetVal (**pEtryPoint)())\
*pEtryPoint = willRun;\
} else if(!strcmp((char*) name, "afterRun")) {\
*pEtryPoint = afterRun;\
- } else if(!strcmp((char*) name, "beginCnfLoad")) {\
+ }
+
+
+/* the following block is to be added for modules that support the v2
+ * config system.
+ */
+#define CODEqueryEtryPt_STD_CONF2_QUERIES \
+ else if(!strcmp((char*) name, "beginCnfLoad")) {\
*pEtryPoint = beginCnfLoad;\
} else if(!strcmp((char*) name, "endCnfLoad")) {\
*pEtryPoint = endCnfLoad;\