blob: 2aa9ec8045ada5572f89741cebeeadb2f514fa38 (
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
|
#ifndef INCLUDE_tag_h__
#define INCLUDE_tag_h__
struct git_config {
char *file_path;
struct {
gitfo_buf buffer;
char *read_ptr;
int line_number;
int eof;
} reader;
git_hashtable *vars;
};
typedef enum {
GIT_VAR_INT,
GIT_VAR_BOOL,
GIT_VAR_STR
} git_cvar_type;
struct git_cvar {
git_cvar_type type;
char *name;
union {
unsigned char boolean;
long integer;
char *string;
} value;
};
#endif
|