summaryrefslogtreecommitdiff
path: root/src/config.h
blob: 0bdbef24e317b0e5886d42695c1fc063f8bd0062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef CONFIG_H
#define CONFIG_H

struct config {
	GKeyFile *keyfile;

	GList *priorities;
};

struct priority {
	gchar *match, *value;
	gint priority;
};

int
config_init(struct config *cfg);

void
config_uninit(struct config *cfg);

#endif /* CONFIG_H */