summaryrefslogtreecommitdiffstats
path: root/core/m_option.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/m_option.h')
-rw-r--r--core/m_option.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/m_option.h b/core/m_option.h
index 9cd5202b90..6d44ce6696 100644
--- a/core/m_option.h
+++ b/core/m_option.h
@@ -32,6 +32,7 @@
typedef struct m_option_type m_option_type_t;
typedef struct m_option m_option_t;
struct m_struct_st;
+struct m_config;
///////////////////////////// Options types declarations ////////////////////
@@ -150,6 +151,10 @@ typedef struct m_obj_settings {
*/
extern const m_option_type_t m_option_type_obj_settings_list;
+int m_obj_parse_sub_config(struct bstr opt_name, struct bstr name,
+ struct bstr *pstr, struct m_config *config,
+ int flags, char ***ret);
+
// Parse an URL into a struct.
/** The option priv field (\ref m_option::priv) must point to a
* \ref m_struct_st describing which fields of the URL must be used.