Mercurial > mplayer.hg
changeset 25634:4344e84f7a9f
export m_config_set_profile()
author | ben |
---|---|
date | Thu, 10 Jan 2008 18:41:21 +0000 |
parents | 7ab58f012dd3 |
children | 25f6dca4df74 |
files | m_config.c m_config.h |
diffstat | 2 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m_config.c Thu Jan 10 18:40:26 2008 +0000 +++ b/m_config.c Thu Jan 10 18:41:21 2008 +0000 @@ -477,7 +477,7 @@ return 1; } -static void +void m_config_set_profile(m_config_t* config, m_profile_t* p) { int i; if(config->profile_depth > MAX_PROFILE_DEPTH) {
--- a/m_config.h Thu Jan 10 18:40:26 2008 +0000 +++ b/m_config.h Thu Jan 10 18:41:21 2008 +0000 @@ -193,6 +193,15 @@ m_config_set_profile_option(m_config_t* config, m_profile_t* p, char* name, char* val); +/// Enables profile usage +/** Used by the config file parser when loading a profile. + * + * \param config The config object. + * \param p The profile object. + */ +void +m_config_set_profile(m_config_t* config, m_profile_t* p); + ///@} ///@}