summaryrefslogtreecommitdiff
path: root/src/config.h
blob: 2be013a7285f8d612fd13b4f350c3cd7b3fbd845 (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
#ifndef INCLUDE_config_h__
#define INCLUDE_config_h__

#include "git2/config.h"

struct git_config {
	char *file_path;

	struct {
		gitfo_buf buffer;
		char *read_ptr;
		int line_number;
		int eof;
	} reader;

	git_hashtable *vars;
};

struct git_cvar {
	char *name;
	char *value;
};

#endif