summaryrefslogtreecommitdiff
path: root/src/common/lock.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/lock.hpp')
-rw-r--r--src/common/lock.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/lock.hpp b/src/common/lock.hpp
new file mode 100644
index 0000000..19c1302
--- /dev/null
+++ b/src/common/lock.hpp
@@ -0,0 +1,8 @@
+#ifndef LOCK_HPP
+#define LOCK_HPP
+/// Locked FILE I/O
+// Changes are made in a separate file until lock_fclose
+FILE *lock_fopen (const char *filename, int *info);
+void lock_fclose (FILE * fp, const char *filename, int *info);
+
+#endif // LOCK_HPP