summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-09-04 13:17:09 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-09-04 13:17:09 +0000
commit89973217774f93f8dabcf41a559a5910b7b27f64 (patch)
tree316347c1fd4c1c0d063eead4b5e816e08f57f737 /apps/settings.h
parent060b3fa4f12b3325f29ff8303e22dd318632bd87 (diff)
Remove duplicated code to search for a setting by its cfg name
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30428 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 05965b3119..f48dd5debc 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -231,6 +231,7 @@ void settings_display(void);
enum optiontype { INT, BOOL };
const struct settings_list* find_setting(const void* variable, int *id);
+const struct settings_list* find_setting_by_cfgname(const char* name, int *id);
bool cfg_int_to_string(int setting_id, int val, char* buf, int buf_len);
bool cfg_string_to_int(int setting_id, int* out, const char* str);
bool cfg_to_string(int setting_id, char* buf, int buf_len);