about summary refs log tree commit diff
path: root/src/checkpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/checkpoint.h')
-rw-r--r--src/checkpoint.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/checkpoint.h b/src/checkpoint.h
new file mode 100644
index 0000000..7a70855
--- /dev/null
+++ b/src/checkpoint.h
@@ -0,0 +1,31 @@
+/*
+    Checkpoints for pangemma propagators
+
+    Copyright © 2015, Pjotr Prins
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef __CHECKPOINT_H__
+#define __CHECKPOINT_H__
+
+#include <string>
+
+using namespace std;
+
+extern string checkpoint_name;
+
+void checkpoint(string msg, string filename);
+
+#endif