split up constants.h some
[trinity.git] / include / files.h
blob823bdfafbf46b868663667c9b3444abedfcd80e4
1 #pragma once
3 #include <sys/stat.h>
5 unsigned long get_o_flags(void);
7 unsigned int setup_fds(void);
9 int open_files(void);
10 void close_files(void);
11 void regenerate_fds(void);
12 int rand_file_fd(void);
14 void parse_devices(void);
15 const char *map_dev(dev_t, mode_t);
17 extern unsigned int nr_file_fds;
18 extern char *victim_path;
19 extern const char **fileindex;
20 extern unsigned int files_in_index;
22 #define NR_FILE_FDS 250