diff options
author | wm4 <wm4@nowhere> | 2014-02-24 21:18:53 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-24 22:50:24 +0100 |
commit | 4d1575173b64b7a95f7cf9626956aebafdbc103f (patch) | |
tree | 9e8260eae1b5796c92392eb1d4a0b52f4417130b /options/m_config.h | |
parent | 38a36fd7ea4a4d9bd4f8ea659f846b7d8784e27b (diff) | |
download | mpv-4d1575173b64b7a95f7cf9626956aebafdbc103f.tar.bz2 mpv-4d1575173b64b7a95f7cf9626956aebafdbc103f.tar.xz |
command: make options property return the list of all options
Diffstat (limited to 'options/m_config.h')
-rw-r--r-- | options/m_config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/options/m_config.h b/options/m_config.h index 82382aaa27..632ba09e77 100644 --- a/options/m_config.h +++ b/options/m_config.h @@ -170,6 +170,9 @@ const char *m_config_get_positional_option(const struct m_config *config, int n) // Returns: error code (<0), or number of expected params (0, 1) int m_config_option_requires_param(struct m_config *config, bstr name); +// Return all (visible) option names as NULL terminated string list. +char **m_config_list_options(void *ta_parent, const struct m_config *config); + /* Print a list of all registered options. * \param config The config object. */ |