|  | Xemu [doxygen]
    hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
    | 
#include "xep128.h"#include "configuration.h"#include "console.h"#include "keyboard_mapping.h"#include <SDL.h>#include <unistd.h>
Go to the source code of this file.
| Data Structures | |
| struct | configOption_st | 
| struct | configSetting_st | 
| Macros | |
| #define | DEBUGFILE_OPT "debug" | 
| Enumerations | |
| enum | configItemEnum_t { CONFITEM_INT, CONFITEM_STR, CONFITEM_BOOL, CONFITEM_FLOAT } | 
| Functions | |
| void | forget_emu_file (const char *path) | 
| FILE * | open_emu_file (const char *name, const char *mode, char *pathbuffer) | 
| int | config_set (const char *name, int subopt, const char *value) | 
| void * | config_getopt (const char *name, const int subopt, void *value) | 
| void | config_getopt_pointed (void *st_in, void *value) | 
| int | is_help_request_option (const char *opt) | 
| int | config_init (int argc, char **argv) | 
| Variables | |
| char * | app_pref_path | 
| char * | app_base_path | 
| char | current_directory [PATH_MAX+1] | 
| SDL_version | sdlver_compiled | 
| SDL_version | sdlver_linked | 
| FILE * | debug_fp = NULL | 
| #define DEBUGFILE_OPT "debug" | 
Definition at line 55 of file configuration.c.
| enum configItemEnum_t | 
| Enumerator | |
|---|---|
| CONFITEM_INT | |
| CONFITEM_STR | |
| CONFITEM_BOOL | |
| CONFITEM_FLOAT | |
Definition at line 33 of file configuration.c.
| void* config_getopt | ( | const char * | name, | 
| const int | subopt, | ||
| void * | value | ||
| ) | 
Definition at line 254 of file configuration.c.
| void config_getopt_pointed | ( | void * | st_in, | 
| void * | value | ||
| ) | 
Definition at line 275 of file configuration.c.
| int config_init | ( | int | argc, | 
| char ** | argv | ||
| ) | 
Definition at line 565 of file configuration.c.


| int config_set | ( | const char * | name, | 
| int | subopt, | ||
| const char * | value | ||
| ) | 
Definition at line 198 of file configuration.c.
| void forget_emu_file | ( | const char * | path | ) | 
Definition at line 98 of file configuration.c.
| int is_help_request_option | ( | const char * | opt | ) | 
Definition at line 481 of file configuration.c.
| FILE* open_emu_file | ( | const char * | name, | 
| const char * | mode, | ||
| char * | pathbuffer | ||
| ) | 
| char * app_base_path | 
Definition at line 84 of file configuration.c.
| char* app_pref_path | 
Definition at line 84 of file configuration.c.
| char current_directory[PATH_MAX+1] | 
Definition at line 85 of file configuration.c.
| FILE* debug_fp = NULL | 
Definition at line 87 of file configuration.c.
| SDL_version sdlver_compiled | 
Definition at line 86 of file configuration.c.
| SDL_version sdlver_linked | 
Definition at line 86 of file configuration.c.
 1.8.17
 1.8.17