From 42f06fb915856722d2e263aa72d0acaf1e00271c Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 31 Jul 2013 20:43:31 +0200 Subject: m_config: make m_profile struct non-public --- core/m_config.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'core/m_config.c') diff --git a/core/m_config.c b/core/m_config.c index 406c363093..414d397049 100644 --- a/core/m_config.c +++ b/core/m_config.c @@ -34,8 +34,19 @@ #include "core/m_option.h" #include "core/mp_msg.h" +// Profiles allow to predefine some sets of options that can then +// be applied later on with the internal -profile option. #define MAX_PROFILE_DEPTH 20 +struct m_profile { + struct m_profile *next; + char *name; + char *desc; + int num_opts; + // Option/value pair array. + char **opts; +}; + static int parse_include(struct m_config *config, struct bstr param, bool set) { if (param.len == 0) -- cgit v1.2.3