From 8472e02a212af0be07b19127db313e8e7523711a Mon Sep 17 00:00:00 2001 From: nirav Date: Sun, 2 Sep 2018 17:16:52 +0530 Subject: Refactoring --- file.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 file.h (limited to 'file.h') 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 -- cgit v1.2.3