Go to the source code of this file.
Classes | |
struct | settings |
Functions | |
struct settings * | settings_new (void) |
void | settings_destroy (struct settings *settings) |
void | settings_debugdump (struct settings *settings, const char *prefix, int recurse) |
void | settings_add (struct settings *settings, const char *name, int writable, int type, int format, void *ptr) |
void | settings_remove (struct settings *settings, const char *name) |
void | settings_remove_all (struct settings *settings) |
int | settings_access (struct settings *settings, const char *fullname, int writeflag, uint64_t *valuep) |
int settings_access | ( | struct settings * | settings, |
const char * | fullname, | ||
int | writeflag, | ||
uint64_t * | valuep | ||
) |
Definition at line 468 of file settings.cc.
References GLOBAL_SETTINGS_NAME, settings::n_settings, settings::name, and strlen().
Referenced by debugger_parse_name().
void settings_add | ( | struct settings * | settings, |
const char * | name, | ||
int | writable, | ||
int | type, | ||
int | format, | ||
void * | ptr | ||
) |
Definition at line 334 of file settings.cc.
References CHECK_ALLOCATION, settings::n_settings, settings::name, settings::name_in_parent, settings::presentation_format, settings::ptr, SETTINGS_TYPE_SUBSETTINGS, settings::storage_type, and settings::writable.
Referenced by cpu_new(), emul_add_machine(), emul_new(), machine_new(), and main().
void settings_debugdump | ( | struct settings * | settings, |
const char * | prefix, | ||
int | recurse | ||
) |
Definition at line 264 of file settings.cc.
References CHECK_ALLOCATION, settings::n_settings, settings::name, settings::ptr, SETTINGS_TYPE_SUBSETTINGS, settings::storage_type, and strlen().
void settings_destroy | ( | struct settings * | settings | ) |
Definition at line 105 of file settings.cc.
References settings::n_settings, settings::name, settings::name_in_parent, settings::parent, settings::presentation_format, settings::ptr, settings_remove(), settings::storage_type, and settings::writable.
Referenced by cpu_destroy(), emul_destroy(), and machine_destroy().
struct settings* settings_new | ( | void | ) |
Definition at line 88 of file settings.cc.
References CHECK_ALLOCATION.
Referenced by cpu_new(), emul_new(), machine_new(), and main().
void settings_remove | ( | struct settings * | settings, |
const char * | name | ||
) |
Definition at line 383 of file settings.cc.
References if(), settings::n_settings, settings::name, settings::presentation_format, settings::ptr, SETTINGS_TYPE_SUBSETTINGS, settings::storage_type, and settings::writable.
Referenced by console_deinit(), cpu_destroy(), emul_destroy(), settings_destroy(), and settings_remove_all().
void settings_remove_all | ( | struct settings * | settings | ) |
Definition at line 441 of file settings.cc.
References settings::n_settings, settings::name, and settings_remove().
Referenced by cpu_destroy(), emul_destroy(), and machine_destroy().