summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/cctk_Parameter.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/cctk_Parameter.h b/src/include/cctk_Parameter.h
index 6b23ba46..f7a63410 100644
--- a/src/include/cctk_Parameter.h
+++ b/src/include/cctk_Parameter.h
@@ -19,6 +19,11 @@
* ParameterBindings.h, which in turn includes this file.
*/
+/* Parameter checking levels */
+#define CCTK_PARAMETER_STRICT 0
+#define CCTK_PARAMETER_NORMAL 1
+#define CCTK_PARAMETER_RELAXED 2
+
/* these SCOPE* defines are used as flags fo parameter scopes. */
#define SCOPE_GLOBAL 1 /* parameter is visible everywhere */
@@ -111,6 +116,9 @@ extern "C"
{
#endif
+/* return the parameter checking level */
+int CCTK_ParameterLevel(void);
+
/* set the value of a parameter */
int CCTK_ParameterSet (const char *name, /* The name of the parameter */
const char *thorn, /* The originating thorn */