Implement configuration file parsing

This commit is contained in:
Michael Stapelberg
2009-02-25 00:50:30 +01:00
parent dadace2fa3
commit e77ebb6c71
7 changed files with 183 additions and 58 deletions

14
include/config.h Normal file
View File

@ -0,0 +1,14 @@
#ifndef _CONFIG_H
#define _CONFIG_H
typedef struct Config Config;
extern Config config;
struct Config {
const char *terminal;
const char *font;
};
void load_configuration(const char *configfile);
#endif