aboutsummaryrefslogtreecommitdiff
path: root/include/config.h
blob: baf4fef199978515a653e9a2f127be0131dc9a8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __CONFIG_H
#define __CONFIG_H

#include <list.h>

#define DELIM "="
#define DELIM_ARRAY ","

typedef struct {
  list_t *keys;
  list_t *values;
  list_t *array_values;
} config_t;

config_t *config_parse(char *content);

#endif