about summary refs log tree commit diff
path: root/sourcecodes/k-best/src/files.h
diff options
context:
space:
mode:
authorziejd22017-09-14 15:39:41 -0500
committerziejd22017-09-14 15:57:50 -0500
commitc4f926438dcb8abe805e910399940f79ff643c4b (patch)
tree3146d05ada5cf4b48d9bdd16c1baa498e8df7192 /sourcecodes/k-best/src/files.h
parent57ebf49403b75dcf8482d174b59f7fd2a961d98e (diff)
downloadBNW-c4f926438dcb8abe805e910399940f79ff643c4b.tar.gz
Add files via upload
Diffstat (limited to 'sourcecodes/k-best/src/files.h')
-rw-r--r--sourcecodes/k-best/src/files.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sourcecodes/k-best/src/files.h b/sourcecodes/k-best/src/files.h
new file mode 100644
index 00000000..f11dd09e
--- /dev/null
+++ b/sourcecodes/k-best/src/files.h
@@ -0,0 +1,12 @@
+#ifndef __FILES_H__
+#define __FILES_H__
+
+#include <stdio.h>
+
+int    nof_lines(char* filename);
+char*  create_fn(char* dirname, int i, char* ext);
+FILE*  open_file(char* dirname, int i, char* ext, char* mode);
+FILE** open_files(int nof_vars, char* dirname, char* ext, char* mode);
+void   free_files(int nof_vars, FILE** files);
+
+#endif