Revision 176b8de8 src/CloudSupport/mysql_delegate_helper.c

View differences:

src/CloudSupport/mysql_delegate_helper.c
25 25
#include "net_helper.h"
26 26
#include "request_handler.h"
27 27
#include "cloud_helper_iface.h"
28
#include "config.h"
28
#include "grapes_config.h"
29 29

  
30 30

  
31 31
#define CLOUD_NODE_ADDR "0.0.0.0"
......
95 95
static const char* parse_required_param(struct tag *cfg_tags, const char *name)
96 96
{
97 97
  const char *arg;
98
  arg = config_value_str(cfg_tags, name);
98
  arg = grapes_config_value_str(cfg_tags, name);
99 99
  if (!arg) {
100 100
    fprintf(stderr, "mysql_delegate_helper: missing required parameter " \
101 101
            "'%s'\n", name);
......
312 312

  
313 313
  ctx = malloc(sizeof(struct mysql_cloud_context));
314 314
  memset(ctx, 0, sizeof(struct mysql_cloud_context));
315
  cfg_tags = config_parse(config);
315
  cfg_tags = grapes_config_parse(config);
316 316

  
317 317
  /* Parse fundametal parameters */
318 318
  if (!(mysql_host=parse_required_param(cfg_tags, "mysql_host"))) {

Also available in: Unified diff