diff options
author | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2008-02-03 19:09:41 +0000 |
---|---|---|
committer | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2008-02-03 19:09:41 +0000 |
commit | 3aada37ae6324b1acda7c5a1c10bc16534c0c2a3 (patch) | |
tree | 0f76c32c25640d1bbee5e1c064fc0e96bacd484c /interface.ccl | |
parent | 2878d1cbdcf4b2eb1f2f3b05a5d0991b7f9b6d17 (diff) |
Provide aliased functions to query the source tree and configuration
ids
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@153 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'interface.ccl')
-rw-r--r-- | interface.ccl | 45 |
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 |