VLC 4.0.0-dev
|
Macros | |
#define | ShowConsole() (void)0 |
#define | PauseConsole() (void)0 |
#define | LINE_START 8 |
#define | PADDING_SPACES 25 |
#define | OPTION_VALUE_SEP " " |
Functions | |
static void | Help (libvlc_int_t *, const char *) |
static void | Usage (libvlc_int_t *, const char *) |
static void | Version (void) |
static void | ListModules (libvlc_int_t *, bool) |
static unsigned | ConsoleWidth (void) |
Returns the console width or a best guess. | |
bool | config_PrintHelp (libvlc_int_t *obj) |
Checks for help command line options such as –help or –version. | |
static void | print_help_on_full_help (void) |
static void | print_section (const module_t *m, const module_config_t **sect, bool color, bool desc) |
static void | print_desc (const char *str, unsigned margin, bool color) |
static int | vlc_swidth (const char *str) |
static void | print_item (const module_t *m, const struct vlc_param *param, const module_config_t **section, bool color, bool desc) |
static bool | module_match (const module_t *m, const char *pattern, bool strict) |
static bool | plugin_show (const vlc_plugin_t *plugin) |
Variables | |
static const char | vlc_usage [] |
#define LINE_START 8 |
#define OPTION_VALUE_SEP " " |
#define PADDING_SPACES 25 |
#define PauseConsole | ( | ) | (void)0 |
#define ShowConsole | ( | ) | (void)0 |
bool config_PrintHelp | ( | libvlc_int_t * | obj | ) |
Checks for help command line options such as –help or –version.
If one is found, print the corresponding text.
References Help(), ListModules(), var_Create(), var_InheritBool(), var_InheritString(), var_SetBool(), Version(), and VLC_VAR_BOOL.
Referenced by libvlc_InternalInit().
|
static |
Returns the console width or a best guess.
Referenced by print_desc().
|
static |
References _, PauseConsole, print_help_on_full_help(), ShowConsole, Usage(), and vlc_usage.
Referenced by config_PrintHelp().
|
static |
References count, vlc_param::i, module_t::i_score, module_t::i_shortcuts, list, module_get_object(), module_gettext(), module_list_free(), module_list_get(), PauseConsole, module_t::pp_shortcuts, module_t::psz_capability, module_t::psz_longname, ShowConsole, TS_CYAN_BOLD, TS_GREEN_BOLD, TS_MAGENTA_BOLD, TS_RESET, TS_RESET_BOLD, and var_InheritBool().
Referenced by config_PrintHelp().
|
static |
References module_t::i_shortcuts, module_get_object(), and module_t::pp_shortcuts.
Referenced by Usage().
|
static |
References vlc_plugin_t::conf, CONFIG_ITEM, vlc_param::i, module_config_t::i_type, vlc_param::item, vlc_param::obsolete, vlc_plugin_t::params, and vlc_plugin_t::size.
Referenced by Usage().
|
static |
References ConsoleWidth(), TS_BLUE_BOLD, TS_RESET, unlikely, and vlc_towc().
Referenced by print_item().
|
static |
References _, asprintf(), CONFIG_CLASS, config_GetIntChoices(), config_GetPszChoices(), CONFIG_HINT_CATEGORY, CONFIG_ITEM_BOOL, CONFIG_ITEM_FLOAT, CONFIG_ITEM_INTEGER, CONFIG_ITEM_STRING, CONFIG_SECTION, CONFIG_SUBCATEGORY, module_value_t::f, module_value_t::i, module_config_t::i_type, vlc_param::item, LINE_START, module_config_t::max, module_config_t::min, module_gettext(), OPTION_VALUE_SEP, module_config_t::orig, PADDING_SPACES, print_desc(), print_section(), module_config_t::psz_longtext, module_config_t::psz_name, module_config_t::psz_text, vlc_param::shortname, TS_BOLD, TS_CYAN_BOLD, TS_GREEN_BOLD, TS_RESET, TS_YELLOW_BOLD, and vlc_swidth().
Referenced by Usage().
|
static |
References module_gettext(), module_config_t::psz_longtext, module_config_t::psz_text, TS_MAGENTA_BOLD, TS_RED_BOLD, and TS_RESET.
Referenced by print_item().
|
static |
References _, module_get_object(), module_gettext(), module_match(), vlc_plugin_t::next, vlc_param::obsolete, p, plugin_show(), print_item(), module_t::psz_help, module_t::psz_longname, TS_BOLD, TS_CYAN_BOLD, TS_GREEN_BOLD, TS_RESET, var_InheritBool(), and vlc_plugins.
Referenced by Help().
|
static |
References _, LICENSE_MSG, PauseConsole, psz_vlc_changeset, ShowConsole, VLC_CompileBy(), VLC_CompileHost(), and VLC_Compiler().
Referenced by config_PrintHelp().
|
static |
References vlc_towc().
Referenced by print_item().
|
static |
Referenced by Help().