aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl45
1 files changed, 34 insertions, 11 deletions
diff --git a/interface.ccl b/interface.ccl
index ac6d6a6..01d7a1f 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -10,6 +10,28 @@ USES INCLUDE HEADER: Publish.h
# Return a pointer to an unmodifiable C string
+# which contains a unique ID for this configuration
+CCTK_POINTER_TO_CONST \
+FUNCTION UniqueConfigID (CCTK_POINTER_TO_CONST IN cctkGH)
+
+PROVIDES FUNCTION UniqueConfigID \
+ WITH Formaline_UniqueConfigID \
+ LANGUAGE C
+
+
+
+# Return a pointer to an unmodifiable C string
+# which contains a unique ID for this source tree
+CCTK_POINTER_TO_CONST \
+FUNCTION UniqueSourceID (CCTK_POINTER_TO_CONST IN cctkGH)
+
+PROVIDES FUNCTION UniqueSourceID \
+ WITH Formaline_UniqueSourceID \
+ LANGUAGE C
+
+
+
+# Return a pointer to an unmodifiable C string
# which contains a unique ID for this build
CCTK_POINTER_TO_CONST \
FUNCTION UniqueBuildID (CCTK_POINTER_TO_CONST IN cctkGH)
@@ -30,6 +52,18 @@ PROVIDES FUNCTION UniqueSimulationID \
LANGUAGE C
+
+# Return a pointer to an unmodifiable C string
+# which contains a unique ID for this run
+CCTK_POINTER_TO_CONST \
+FUNCTION UniqueRunID (CCTK_POINTER_TO_CONST IN cctkGH)
+
+PROVIDES FUNCTION UniqueRunID \
+ WITH Formaline_UniqueRunID \
+ LANGUAGE C
+
+
+
#############
# Publish API
#############
@@ -130,14 +164,3 @@ USES FUNCTION PublishInt_Unregister
USES FUNCTION PublishReal_Unregister
USES FUNCTION PublishString_Unregister
USES FUNCTION PublishTable_Unregister
-
-
-
-# Return a pointer to an unmodifiable C string
-# which contains a unique ID for this run
-CCTK_POINTER_TO_CONST \
-FUNCTION UniqueRunID (CCTK_POINTER_TO_CONST IN cctkGH)
-
-PROVIDES FUNCTION UniqueRunID \
- WITH Formaline_UniqueRunID \
- LANGUAGE C