# HG changeset patch # User ben # Date 1199990481 0 # Node ID 4344e84f7a9fee6eba791c0213797b17b00cb619 # Parent 7ab58f012dd3f23016035ff7a30cc54f9516812d export m_config_set_profile() diff -r 7ab58f012dd3 -r 4344e84f7a9f m_config.c --- 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) { diff -r 7ab58f012dd3 -r 4344e84f7a9f m_config.h --- 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); + ///@} ///@}