diff options
Diffstat (limited to 'src/dir/dir.h')
| -rwxr-xr-x | src/dir/dir.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/dir/dir.h b/src/dir/dir.h deleted file mode 100755 index 8dd0b0e..0000000 --- a/src/dir/dir.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef DIR_H -#define DIR_H - -#ifndef _LARGEFILE_SOURCE -#define _LARGEFILE_SOURCE -#endif - -#include <stdio.h> -#include <stdlib.h> -#include <stdbool.h> -#include <string.h> -#include <inttypes.h> -#include <dirent.h> -#include <sys/stat.h> -#include "str/str.h" - - -struct file { - str name; - bool temp; -}; - - -uint64_t get_fd_size(int fd); - -uint64_t get_fp_size(FILE *fp); - -uint64_t get_file_size(char *filename); - -str get_file_format(str filename); - -uint64_t getNEntries(const char *dir); - -char **getFiles(const char *dir); - -#endif |
