summaryrefslogtreecommitdiffstats
path: root/conf.h
blob: da2e64bee2fa0218afb6df1a4a0a0185c190c8c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _CONF_H
#define _CONF_H

typedef struct config_t {
  char **repos;
  int size;
  int capacity;

  char *dbroot;
  char *dbpath;
} config_t;

int config_parse(config_t *config, const char *filename);
void config_reset(config_t *config);

#endif  /* _CONF_H */

/* vim: set et ts=2 sw=2: */