Create core_info_ctl

This commit is contained in:
twinaphex 2016-02-07 02:18:26 +01:00
parent 4448145532
commit e1bd5ca335
2 changed files with 19 additions and 0 deletions

View File

@ -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;
}

View File

@ -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