blob: 0890b42bdded032dbdeb9a4243d26998c2c39f54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef CONF_H
#define CONF_H
#include "system.h"
struct conf {
char *base_dir;
char *cache_dir;
unsigned cache_dir_levels;
char *compiler;
char *compiler_check;
bool compression;
char *cpp_extension;
bool detect_shebang;
bool direct_mode;
bool disable;
char *extra_files_to_hash;
bool hard_link;
bool hash_dir;
char *log_file;
unsigned max_files;
unsigned max_size;
char *path;
char *prefix_command;
bool read_only;
bool recache;
bool run_second_cpp;
unsigned sloppiness;
bool stats;
char *temporary_dir;
unsigned umask;
bool unify;
};
struct conf *conf_create(void);
void conf_free(struct conf *conf);
bool conf_read(struct conf *conf, const char *path, char **errmsg);
bool conf_update_from_environment(struct conf *conf, char **errmsg);
#endif
|