blob: 4ae3dbba845bda3f850b84ca189992c0807ea210 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Read a configuration file.
// Config files are formatted as several sections, each containing key = value pairs.
// e.g.:
// [section1]
// thing1 = 33
// thing2 = 454
// [section2]
// asdf = 123
void config_read(Ted *ted, char const *filename) {
char section_name[32] = {0};
// @TODO
}
|