pmm  1.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
test_cfgparser.c
Go to the documentation of this file.
1 #include <stdio.h>
2 
3 #include "pmm_model.h"
4 #include "pmm_cfgparser.h"
5 
6 int main(void) {
7 
8  struct pmm_config *c;
9 
10  printf("test_cfgparser\n");
11 
12  printf("init config structure\n");
13  c = new_config();
14 
15  c->configfile="pmm.cfg.xml";
16 
17  printf("parse config\n");
18  parse_config(c);
19 
20  return 1;
21 }
22