summaryrefslogtreecommitdiffhomepage
path: root/src/loader/inc/cfg.h
blob: 1332fe17e5a9e98cae902f3e50e78b30c1ca7494 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// MIT License, Copyright (c) 2021 Marvin Borner

#ifndef CFG_H
#define CFG_H

#include <def.h>

// Global config element index (can actually be anything but wth)
#define CFG_GLOBAL 0

enum cfg_key {
	CFG_NONE,
	CFG_NAME,
	CFG_TIMEOUT,
	CFG_PATH,
};

const void *cfg_get(u8 index, enum cfg_key key);
void cfg_exec(void);

#endif