aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
blob: a5371f79f34bea34f032b93c9fb40b3b3db716ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef POW_CONFIG_H
#define POW_CONFIG_H

#include "repo.h"

#include "lua.h"
#include <stddef.h>

typedef struct pow_config {
  pow_repo **repos;
  size_t repos_count;

  char *makeopts;

  lua_State *L;
} pow_config;

int pow_open_config(pow_config *cfg, char *path);
int pow_close_config(pow_config *cfg);

#endif