mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-17 22:29:23 +00:00
21 lines
604 B
C
21 lines
604 B
C
|
#ifndef __CONFIG_FILE_H
|
||
|
#define __CONFIG_FILE_H
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
typedef struct config_file config_file_t;
|
||
|
|
||
|
config_file_t *config_file_new(const char *path);
|
||
|
void config_file_free(config_file_t *conf);
|
||
|
|
||
|
bool config_get_double(config_file_t *conf, const char *entry, double *in);
|
||
|
bool config_get_int(config_file_t *conf, const char *entry, int *in);
|
||
|
bool config_get_char(config_file_t *conf, const char *entry, char *in);
|
||
|
bool config_get_string(config_file_t *conf, const char *entry, char **in);
|
||
|
bool config_get_bool(config_file_t *conf, const char *entry, bool *in);
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|