aboutsummaryrefslogtreecommitdiff
path: root/src/id.hh
diff options
context:
space:
mode:
authorschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2006-07-27 17:27:25 +0000
committerschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2006-07-27 17:27:25 +0000
commit258df8d6a9da14e91b41f7055ff2c0167b167e76 (patch)
tree03961778415ebf1871c62978b127ab7954a0dbc7 /src/id.hh
parent091faae315673811705946849a8f58f9e249391c (diff)
Move all handling of build and job ids to a separate file.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@107 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src/id.hh')
-rw-r--r--src/id.hh19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/id.hh b/src/id.hh
new file mode 100644
index 0000000..08bdb03
--- /dev/null
+++ b/src/id.hh
@@ -0,0 +1,19 @@
+#ifndef FORMALINE_ID_HH
+#define FORMALINE_ID_HH
+
+#include "cctk.h"
+
+namespace Formaline
+{
+
+ // Get a unique build id
+ char const *
+ get_build_id (cGH const * const cctkGH);
+
+ // Get a unique job id
+ char const *
+ get_job_id (cGH const * const cctkGH);
+
+} // namespace Formaline
+
+#endif // #ifndef FORMALINE_ID_HH