Revision 176b8de8 src/ChunkBuffer/buffer.c

View differences:

src/ChunkBuffer/buffer.c
11 11

  
12 12
#include "chunk.h"
13 13
#include "chunkbuffer.h"
14
#include "config.h"
14
#include "grapes_config.h"
15 15

  
16 16
struct chunk_buffer {
17 17
  int size;
......
83 83
  }
84 84
  memset(cb, 0, sizeof(struct chunk_buffer));
85 85

  
86
  cfg_tags = config_parse(config);
86
  cfg_tags = grapes_config_parse(config);
87 87
  if (!cfg_tags) {
88 88
    free(cb);
89 89
    return NULL;
90 90
  }
91
  res = config_value_int(cfg_tags, "size", &cb->size);
91
  res = grapes_config_value_int(cfg_tags, "size", &cb->size);
92 92
  if (!res) {
93 93
    free(cb);
94 94
    free(cfg_tags);

Also available in: Unified diff