From e1bd5ca3356395d2ddbc6d3701d7a2b50d8b595d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 7 Feb 2016 02:18:26 +0100 Subject: [PATCH] Create core_info_ctl --- core_info.c | 12 ++++++++++++ core_info.h | 7 +++++++ 2 files changed, 19 insertions(+) diff --git a/core_info.c b/core_info.c index 09624fca0a..0aeba2a465 100644 --- a/core_info.c +++ b/core_info.c @@ -659,3 +659,15 @@ void core_info_list_get_missing_firmware( qsort(info->firmware, info->firmware_count, sizeof(*info->firmware), core_info_firmware_cmp); } + +bool core_info_ctl(enum core_info_state state, void *data) +{ + switch (state) + { + case CORE_INFO_CTL_NONE: + default: + break; + } + + return true; +} diff --git a/core_info.h b/core_info.h index 4fdbdc0ccc..dd6b6a40d0 100644 --- a/core_info.h +++ b/core_info.h @@ -24,6 +24,11 @@ extern "C" { #endif +enum core_info_state +{ + CORE_INFO_CTL_NONE = 0 +}; + typedef struct { char *path; @@ -112,6 +117,8 @@ void core_info_get_name(const char *path, char *s, size_t len); core_info_t *core_info_get(core_info_list_t *list, size_t i); +bool core_info_ctl(enum core_info_state action, void *data); + #ifdef __cplusplus } #endif