24 #ifndef __LIBRETRO_SDK_CONFIG_FILE_H 25 #define __LIBRETRO_SDK_CONFIG_FILE_H 37 #define CONFIG_GET_BOOL_BASE(conf, base, var, key) do { \ 39 if (config_get_bool(conf, key, &tmp)) \ 43 #define CONFIG_GET_INT_BASE(conf, base, var, key) do { \ 45 if (config_get_int(conf, key, &tmp)) \ 49 #define CONFIG_GET_FLOAT_BASE(conf, base, var, key) do { \ 51 if (config_get_float(conf, key, &tmp)) \ 138 #if defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L bool guaranteed_no_duplicates
Definition: config_file.h:62
bool config_get_double(config_file_t *conf, const char *entry, double *in)
Definition: config_file.c:639
GLuint GLfloat * val
Definition: glext.h:7847
bool config_get_bool(config_file_t *conf, const char *entry, bool *in)
Definition: config_file.c:824
void config_file_dump(config_file_t *conf, FILE *file)
Definition: config_file.c:1006
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
bool config_get_float(config_file_t *conf, const char *entry, float *in)
Definition: config_file.c:652
bool config_get_hex(config_file_t *conf, const char *entry, unsigned *in)
Definition: config_file.c:741
GLsizei const GLchar ** path
Definition: glext.h:7901
GLenum GLsizei len
Definition: glext.h:7389
bool config_get_char(config_file_t *conf, const char *entry, char *in)
Definition: config_file.c:760
bool config_get_array(config_file_t *conf, const char *entry, char *s, size_t len)
Definition: config_file.c:796
void config_set_char(config_file_t *conf, const char *entry, char val)
Definition: config_file.c:965
char * key
Definition: config_file.c:57
const char * key
Definition: config_file.h:114
bool config_entry_exists(config_file_t *conf, const char *entry)
Definition: config_file.c:1028
bool config_get_string(config_file_t *conf, const char *entry, char **in)
Definition: config_file.c:776
bool config_append_file(config_file_t *conf, const char *path)
Definition: config_file.c:530
GLdouble s
Definition: glext.h:6390
const char * value
Definition: config_file.h:115
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
bool config_get_entry_list_head(config_file_t *conf, struct config_file_entry *entry)
Definition: config_file.c:1042
void(* config_file_new_entry_cb)(char *, char *)
Definition: config_file.h:72
struct config_entry_list * entries
Definition: config_file.h:58
void config_set_uint64(config_file_t *conf, const char *entry, uint64_t val)
Definition: config_file.c:956
bool config_get_entry_list_next(struct config_file_entry *entry)
Definition: config_file.c:1056
config_file_t * config_file_new_from_string(const char *from_string)
Definition: config_file.c:548
void config_set_path(config_file_t *conf, const char *entry, const char *val)
Definition: config_file.c:892
Definition: config_file.c:51
Definition: config_file.h:70
bool config_get_size_t(config_file_t *conf, const char *key, size_t *in)
Definition: config_file.c:684
GLuint in
Definition: glext.h:10523
void config_set_hex(config_file_t *conf, const char *entry, unsigned val)
Definition: config_file.c:947
bool config_get_path(config_file_t *conf, const char *entry, char *s, size_t len)
Definition: config_file.c:806
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
config_file_t * config_file_new(const char *path)
Definition: config_file.c:614
struct config_entry_list * tail
Definition: config_file.h:59
#define FILE
Definition: file_stream_transforms.h:35
Definition: config_file.h:55
struct config_include_list * includes
Definition: config_file.h:64
void config_unset(config_file_t *conf, const char *key)
Definition: config_file.c:878
struct config_entry_list * last
Definition: config_file.h:60
const struct config_entry_list * next
Definition: config_file.h:117
void config_set_double(config_file_t *conf, const char *entry, double value)
Definition: config_file.c:905
bool config_file_exists(const char *path)
Definition: config_file.c:1069
bool config_file_write(config_file_t *conf, const char *path)
Definition: config_file.c:979
Definition: config_file.c:62
Definition: config_file.h:112
void config_set_bool(config_file_t *conf, const char *entry, bool val)
Definition: config_file.c:974
unsigned include_depth
Definition: config_file.h:61
void config_set_string(config_file_t *conf, const char *entry, const char *val)
Definition: config_file.c:845
bool config_get_uint(config_file_t *conf, const char *entry, unsigned *in)
Definition: config_file.c:722
GLsizei const GLfloat * value
Definition: glext.h:6709
void config_set_uint(config_file_t *conf, const char *key, unsigned int val)
Definition: config_file.c:938
config_file_t * config_file_new_with_callback(const char *path, config_file_cb_t *cb)
Definition: config_file.c:610
void config_file_free(config_file_t *conf)
Definition: config_file.c:489
Definition: civetweb.c:1024
void config_set_int(config_file_t *conf, const char *entry, int val)
Definition: config_file.c:929
void config_set_float(config_file_t *conf, const char *entry, float value)
Definition: config_file.c:920
unsigned __int64 uint64_t
Definition: stdint.h:136
bool config_get_int(config_file_t *conf, const char *entry, int *in)
Definition: config_file.c:665
char * path
Definition: config_file.h:57
bool config_get_config_path(config_file_t *conf, char *s, size_t len)
Definition: config_file.c:788