Debian Codegraph @

src/test/configtest.c

raw
1 #include "configuration.h"
2
3 #define FILENAME "test.conf"
4
5 int main(int argc, char **argv)
6 {
7 struct configuration *cfg = config_new();
8 cfg->read(cfg, FILENAME);
9 cfg->dump(cfg);
10 config_delete(cfg);
11 return 0;
12 }