Revision 176b8de8 src/TopologyManager/dumbTopman.c

View differences:

src/TopologyManager/dumbTopman.c
14 14

  
15 15
#include "net_helper.h"
16 16
#include "../Cache/topocache.h"
17
#include "config.h"
17
#include "grapes_config.h"
18 18
#include "topman_iface.h"
19 19

  
20 20
#define DUMB_DEFAULT_MEM	20
......
56 56
	struct tag *cfg_tags;
57 57
	int res;
58 58

  
59
	cfg_tags = config_parse(config);
60
	res = config_value_int(cfg_tags, "cache_size", &cache_size);
59
	cfg_tags = grapes_config_parse(config);
60
	res = grapes_config_value_int(cfg_tags, "cache_size", &cache_size);
61 61
	if (!res) {
62 62
		cache_size = DUMB_DEFAULT_CSIZE;
63 63
	}
64
	res = config_value_int(cfg_tags, "memory", &memory);
64
	res = grapes_config_value_int(cfg_tags, "memory", &memory);
65 65
	if (!res) {
66 66
		memory = DUMB_DEFAULT_MEM;
67 67
	}
68
	res = config_value_int(cfg_tags, "period", &period);
68
	res = grapes_config_value_int(cfg_tags, "period", &period);
69 69
	if (!res) {
70 70
		period = DUMB_DEFAULT_PERIOD;
71 71
	}

Also available in: Unified diff