aboutsummaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'file.h')
-rw-r--r--file.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/file.h b/file.h
new file mode 100644
index 0000000..31f6323
--- /dev/null
+++ b/file.h
@@ -0,0 +1,13 @@
+#ifndef __FILE_H
+#define __FILE_H
+#define _DEFAULT_SOURCE
+
+char **file_list;
+char *curr_file_name;
+int curr_file_index, file_list_count;
+
+int scan(const char *file_name);
+char *get_next_file();
+char *get_prev_file();
+
+#endif