diff options
Diffstat (limited to 'options')
-rw-r--r-- | options/parse_configfile.c | 4 | ||||
-rw-r--r-- | options/parse_configfile.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/options/parse_configfile.c b/options/parse_configfile.c index b97fd382ed..42e47689db 100644 --- a/options/parse_configfile.c +++ b/options/parse_configfile.c @@ -42,8 +42,8 @@ static bool skip_ws(bstr *s) return s->len; } -static int m_config_parse(m_config_t *config, const char *location, bstr data, - char *initial_section, int flags) +int m_config_parse(m_config_t *config, const char *location, bstr data, + char *initial_section, int flags) { m_profile_t *profile = m_config_add_profile(config, initial_section); void *tmp = talloc_new(NULL); diff --git a/options/parse_configfile.h b/options/parse_configfile.h index 4a42cee001..3cf54b54db 100644 --- a/options/parse_configfile.h +++ b/options/parse_configfile.h @@ -24,4 +24,7 @@ int m_config_parse_config_file(m_config_t* config, const char *conffile, char *initial_section, int flags); +int m_config_parse(m_config_t *config, const char *location, bstr data, + char *initial_section, int flags); + #endif /* MPLAYER_PARSER_CFG_H */ |