rulimine/stage2/lib/config.h
2020-11-02 09:20:34 +01:00

15 lines
350 B
C

#ifndef __LIB__CONFIG_H__
#define __LIB__CONFIG_H__
#include <stddef.h>
#include <stdbool.h>
extern bool config_ready;
int init_config(int drive, int part);
int config_get_entry_name(char *ret, size_t index, size_t limit);
int config_set_entry(size_t index);
char *config_get_value(char *buf, size_t index, size_t limit, const char *key);
#endif