File: pathnames.h

package info (click to toggle)
trinity 1.9%2Bgit20230109.87f1530-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,116 kB
  • sloc: ansic: 33,463; sh: 536; makefile: 163
file content (19 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

extern unsigned int nr_file_fds;
extern char *victim_path;
extern const char **fileindex;
extern unsigned int files_in_index;

#define MAX_PATH_LEN 4096

#define NR_FILE_FDS 250U

int check_stat_file(const struct stat *sb);
void generate_filelist(void);
const char * get_filename(void);
const char * generate_pathname(void);