|
VLC 4.0.0-dev
|
This file implements plugin (module) macros used to define a vlc module. More...
Go to the source code of this file.
Macros | |
| #define | CONFIG_HINT_CATEGORY 0x02 /* Start of new category */ |
| #define | CONFIG_SUBCATEGORY 0x07 /* Set subcategory */ |
| #define | CONFIG_SECTION 0x08 /* Start of new section */ |
| #define | CONFIG_ITEM_FLOAT (1 << 5) /* Float option */ |
| #define | CONFIG_ITEM_INTEGER (2 << 5) /* Integer option */ |
| #define | CONFIG_ITEM_RGB (CONFIG_ITEM_INTEGER | 0x01) /* RGB color option */ |
| #define | CONFIG_ITEM_BOOL (3 << 5) /* Bool option */ |
| #define | CONFIG_ITEM_STRING (4 << 5) /* String option */ |
| #define | CONFIG_ITEM_PASSWORD (CONFIG_ITEM_STRING | 0x01) /* Password option (*) */ |
| #define | CONFIG_ITEM_KEY (CONFIG_ITEM_STRING | 0x02) /* Hot key option */ |
| #define | CONFIG_ITEM_MODULE (CONFIG_ITEM_STRING | 0x04) /* Module option */ |
| #define | CONFIG_ITEM_MODULE_CAT (CONFIG_ITEM_STRING | 0x05) /* Module option */ |
| #define | CONFIG_ITEM_MODULE_LIST (CONFIG_ITEM_STRING | 0x06) /* Module option */ |
| #define | CONFIG_ITEM_MODULE_LIST_CAT (CONFIG_ITEM_STRING | 0x07) /* Module option */ |
| #define | CONFIG_ITEM_LOADFILE (CONFIG_ITEM_STRING | 0x0C) /* Read file option */ |
| #define | CONFIG_ITEM_SAVEFILE (CONFIG_ITEM_STRING | 0x0D) /* Written file option */ |
| #define | CONFIG_ITEM_DIRECTORY (CONFIG_ITEM_STRING | 0x0E) /* Directory option */ |
| #define | CONFIG_ITEM_FONT (CONFIG_ITEM_STRING | 0x0F) /* Font option */ |
| #define | CONFIG_CLASS(x) |
| #define | CONFIG_ITEM(x) |
| #define | IsConfigStringType(type) |
| #define | IsConfigIntegerType(type) |
| #define | IsConfigFloatType(type) |
| #define | VLC_API_VERSION_STRING "4.0.6" |
| Current plugin ABI version. | |
| #define | CONCATENATE(y, z) |
| #define | CRUDE_HACK(y, z) |
| #define | STRINGIFY_NAME_(z) |
| #define | STRINGIFY_NAME(z) |
| #define | EXTERN_SYMBOL |
| #define | VLC_ENTRY_FUNC(name) |
| #define | VLC_MODULE_ENTRY(name) |
| #define | VLC_DECL_MODULE_ENTRY(name) |
| #define | VLC_SYMBOL(symbol) |
| #define | VLC_MODULE_NAME_HIDDEN_SYMBOL |
| #define | CDECL_SYMBOL |
| #define | DLL_SYMBOL |
| #define | vlc_plugin_set(...) |
| #define | vlc_module_set(...) |
| #define | vlc_config_set(...) |
| #define | VLC_CHECKED_TYPE(type, value) |
| #define | vlc_module_begin() |
| #define | vlc_module_end() |
| #define | add_submodule() |
| #define | add_shortcut(...) |
| #define | set_shortname(shortname) |
| #define | set_description(desc) |
| #define | set_help(help) |
| #define | set_help_html(help_html) |
| #define | set_capability(cap, score) |
| #define | set_callback(activate) |
| #define | set_callbacks(activate, deactivate) |
| #define | cannot_unload_broken_library() |
| #define | set_text_domain(dom) |
| #define | add_type_inner(type) |
| #define | add_typedesc_inner(type, text, longtext) |
| #define | add_typename_inner(type, name, text, longtext) |
| #define | add_string_inner(type, name, text, longtext, v) |
| #define | add_int_inner(type, name, text, longtext, v) |
| #define | set_subcategory(id) |
| #define | set_section(text, longtext) |
| #define | add_string(name, value, text, longtext) |
| #define | add_password(name, value, text, longtext) |
| #define | add_loadfile(name, value, text, longtext) |
| #define | add_savefile(name, value, text, longtext) |
| #define | add_directory(name, value, text, longtext) |
| #define | add_font(name, value, text, longtext) |
| #define | add_module(name, cap, value, text, longtext) |
| #define | add_module_list(name, cap, value, text, longtext) |
| #define | add_integer(name, value, text, longtext) |
| #define | add_rgb(name, value, text, longtext) |
| #define | add_key(name, value, text, longtext) |
| #define | add_integer_with_range(name, value, min, max, text, longtext) |
| #define | add_float(name, v, text, longtext) |
| #define | add_float_with_range(name, value, min, max, text, longtext) |
| #define | add_bool(name, v, text, longtext) |
| #define | add_obsolete_inner(name, type) |
| #define | add_obsolete_bool(name) |
| #define | add_obsolete_integer(name) |
| #define | add_obsolete_float(name) |
| #define | add_obsolete_string(name) |
| #define | change_short(ch) |
| #define | change_string_list(list, list_text) |
| #define | change_integer_list(list, list_text) |
| #define | change_integer_range(minv, maxv) |
| #define | change_float_range(minv, maxv) |
| #define | change_private() |
| #define | change_volatile() |
| #define | change_safe() |
| #define | VLC_CONFIG_INTEGER_ENUM(cb) |
| #define | VLC_CONFIG_STRING_ENUM(cb) |
| #define | VLC_META_EXPORT(name, value) |
| #define | VLC_API_VERSION_EXPORT VLC_META_EXPORT(api_version, VLC_API_VERSION_STRING) |
| #define | VLC_COPYRIGHT_VIDEOLAN |
| #define | VLC_LICENSE_LGPL_2_1_PLUS |
| #define | VLC_LICENSE_GPL_2_PLUS |
| #define | VLC_COPYRIGHT_EXPORT |
| #define | VLC_LICENSE_EXPORT |
| #define | VLC_METADATA_EXPORTS |
Typedefs | |
| typedef int(* | vlc_set_cb) (void *, void *, int,...) |
| typedef int(* | vlc_plugin_cb) (vlc_set_cb, void *) |
| Plugin entry point prototype. | |
Functions | |
| int | vlc_entry__MODULE_NAME (vlc_set_cb, void *) |
| int | vlc_entry_cfg_int_enum__MODULE_NAME (const char *name, int64_t **values, char ***descs) |
| int | vlc_entry_cfg_str_enum__MODULE_NAME (const char *name, char ***values, char ***descs) |
This file implements plugin (module) macros used to define a vlc module.
| #define add_bool | ( | name, | |
| v, | |||
| text, | |||
| longtext ) |
Referenced by vlc_entry__core(), and vlc_entry__MODULE_NAME().
| #define add_directory | ( | name, | |
| value, | |||
| text, | |||
| longtext ) |
Referenced by vlc_entry__core().
| #define add_float | ( | name, | |
| v, | |||
| text, | |||
| longtext ) |
Referenced by vlc_entry__core().
| #define add_float_with_range | ( | name, | |
| value, | |||
| min, | |||
| max, | |||
| text, | |||
| longtext ) |
| #define add_font | ( | name, | |
| value, | |||
| text, | |||
| longtext ) |
| #define add_int_inner | ( | type, | |
| name, | |||
| text, | |||
| longtext, | |||
| v ) |
| #define add_integer | ( | name, | |
| value, | |||
| text, | |||
| longtext ) |
Referenced by vlc_entry__core(), and vlc_entry__MODULE_NAME().
| #define add_integer_with_range | ( | name, | |
| value, | |||
| min, | |||
| max, | |||
| text, | |||
| longtext ) |
| #define add_key | ( | name, | |
| value, | |||
| text, | |||
| longtext ) |
Referenced by vlc_entry__core().
| #define add_loadfile | ( | name, | |
| value, | |||
| text, | |||
| longtext ) |
Referenced by vlc_entry__core().
| #define add_module | ( | name, | |
| cap, | |||
| value, | |||
| text, | |||
| longtext ) |
Referenced by vlc_entry__core().
| #define add_module_list | ( | name, | |
| cap, | |||
| value, | |||
| text, | |||
| longtext ) |
Referenced by vlc_entry__core().
| #define add_obsolete_bool | ( | name | ) |
Referenced by vlc_entry__core().
| #define add_obsolete_float | ( | name | ) |
Referenced by vlc_entry__core().
| #define add_obsolete_inner | ( | name, | |
| type ) |
| #define add_obsolete_integer | ( | name | ) |
Referenced by vlc_entry__core().
| #define add_obsolete_string | ( | name | ) |
Referenced by vlc_entry__core(), and vlc_entry__MODULE_NAME().
| #define add_password | ( | name, | |
| value, | |||
| text, | |||
| longtext ) |
| #define add_rgb | ( | name, | |
| value, | |||
| text, | |||
| longtext ) |
| #define add_savefile | ( | name, | |
| value, | |||
| text, | |||
| longtext ) |
| #define add_shortcut | ( | ... | ) |
Referenced by vlc_entry__MODULE_NAME(), and vlc_entry__MODULE_NAME().
| #define add_string | ( | name, | |
| value, | |||
| text, | |||
| longtext ) |
Referenced by vlc_entry__core(), vlc_entry__MODULE_NAME(), and vlc_entry__MODULE_NAME().
| #define add_string_inner | ( | type, | |
| name, | |||
| text, | |||
| longtext, | |||
| v ) |
| #define add_submodule | ( | ) |
Referenced by vlc_entry__MODULE_NAME().
| #define add_type_inner | ( | type | ) |
| #define add_typedesc_inner | ( | type, | |
| text, | |||
| longtext ) |
| #define add_typename_inner | ( | type, | |
| name, | |||
| text, | |||
| longtext ) |
| #define cannot_unload_broken_library | ( | ) |
| #define CDECL_SYMBOL |
Referenced by vlc_entry_cfg_int_enum__MODULE_NAME(), and vlc_entry_cfg_str_enum__MODULE_NAME().
| #define change_float_range | ( | minv, | |
| maxv ) |
Referenced by vlc_entry__core().
| #define change_integer_list | ( | list, | |
| list_text ) |
Referenced by vlc_entry__core().
| #define change_integer_range | ( | minv, | |
| maxv ) |
Referenced by vlc_entry__core(), and vlc_entry__MODULE_NAME().
| #define change_private | ( | ) |
Referenced by vlc_entry__core(), and vlc_entry__MODULE_NAME().
| #define change_safe | ( | ) |
Referenced by vlc_entry__core(), vlc_entry__MODULE_NAME(), and vlc_entry__MODULE_NAME().
| #define change_short | ( | ch | ) |
Referenced by vlc_entry__core().
| #define change_string_list | ( | list, | |
| list_text ) |
Referenced by vlc_entry__core().
| #define change_volatile | ( | ) |
Referenced by vlc_entry__core(), and vlc_entry__MODULE_NAME().
| #define CONCATENATE | ( | y, | |
| z ) |
| #define CONFIG_CLASS | ( | x | ) |
Referenced by config_ChainParse(), config_GetType(), config_LoadCmdLine(), config_LoadConfigFile(), config_SaveConfigFile(), and print_item().
| #define CONFIG_HINT_CATEGORY 0x02 /* Start of new category */ |
Referenced by print_item().
| #define CONFIG_ITEM | ( | x | ) |
Referenced by config_LoadCmdLine(), config_SaveConfigFile(), config_SortConfig(), plugin_show(), vlc_config_create(), and vlc_plugin_desc_cb().
| #define CONFIG_ITEM_BOOL (3 << 5) /* Bool option */ |
| #define CONFIG_ITEM_DIRECTORY (CONFIG_ITEM_STRING | 0x0E) /* Directory option */ |
| #define CONFIG_ITEM_FLOAT (1 << 5) /* Float option */ |
Referenced by config_ChainParse(), config_GetType(), config_LoadCmdLine(), config_LoadConfigFile(), and print_item().
| #define CONFIG_ITEM_FONT (CONFIG_ITEM_STRING | 0x0F) /* Font option */ |
| #define CONFIG_ITEM_INTEGER (2 << 5) /* Integer option */ |
Referenced by config_ChainParse(), config_GetType(), config_LoadCmdLine(), config_LoadConfigFile(), and print_item().
| #define CONFIG_ITEM_KEY (CONFIG_ITEM_STRING | 0x02) /* Hot key option */ |
| #define CONFIG_ITEM_LOADFILE (CONFIG_ITEM_STRING | 0x0C) /* Read file option */ |
| #define CONFIG_ITEM_MODULE (CONFIG_ITEM_STRING | 0x04) /* Module option */ |
Referenced by config_GetPszChoices().
| #define CONFIG_ITEM_MODULE_CAT (CONFIG_ITEM_STRING | 0x05) /* Module option */ |
| #define CONFIG_ITEM_MODULE_LIST (CONFIG_ITEM_STRING | 0x06) /* Module option */ |
| #define CONFIG_ITEM_MODULE_LIST_CAT (CONFIG_ITEM_STRING | 0x07) /* Module option */ |
| #define CONFIG_ITEM_PASSWORD (CONFIG_ITEM_STRING | 0x01) /* Password option (*) */ |
| #define CONFIG_ITEM_RGB (CONFIG_ITEM_INTEGER | 0x01) /* RGB color option */ |
| #define CONFIG_ITEM_SAVEFILE (CONFIG_ITEM_STRING | 0x0D) /* Written file option */ |
| #define CONFIG_ITEM_STRING (4 << 5) /* String option */ |
Referenced by config_ChainParse(), config_GetType(), config_LoadCmdLine(), and print_item().
| #define CONFIG_SECTION 0x08 /* Start of new section */ |
Referenced by print_item().
| #define CONFIG_SUBCATEGORY 0x07 /* Set subcategory */ |
Referenced by print_item().
| #define CRUDE_HACK | ( | y, | |
| z ) |
| #define DLL_SYMBOL |
Referenced by vlc_entry_cfg_int_enum__MODULE_NAME().
| #define EXTERN_SYMBOL |
Referenced by vlc_entry_cfg_int_enum__MODULE_NAME().
| #define IsConfigFloatType | ( | type | ) |
Referenced by config_GetFloat(), config_PutFloat(), config_ResetAll(), config_SaveConfigFile(), vlc_config_create(), and vlc_plugin_desc_cb().
| #define IsConfigIntegerType | ( | type | ) |
Referenced by config_GetInt(), config_PutInt(), config_ResetAll(), config_SaveConfigFile(), vlc_config_create(), and vlc_plugin_desc_cb().
| #define IsConfigStringType | ( | type | ) |
Referenced by config_Free(), config_GetPsz(), config_GetPszChoices(), config_ResetAll(), config_SaveConfigFile(), vlc_param_SetString(), and vlc_plugin_desc_cb().
| #define set_callback | ( | activate | ) |
Referenced by vlc_entry__MODULE_NAME().
| #define set_callbacks | ( | activate, | |
| deactivate ) |
Referenced by vlc_entry__MODULE_NAME(), and vlc_entry__MODULE_NAME().
| #define set_capability | ( | cap, | |
| score ) |
Referenced by vlc_entry__MODULE_NAME(), and vlc_entry__MODULE_NAME().
| #define set_description | ( | desc | ) |
Referenced by vlc_entry__core(), vlc_entry__MODULE_NAME(), and vlc_entry__MODULE_NAME().
| #define set_help | ( | help | ) |
| #define set_help_html | ( | help_html | ) |
| #define set_section | ( | text, | |
| longtext ) |
Referenced by vlc_entry__core().
| #define set_shortname | ( | shortname | ) |
Referenced by vlc_entry__MODULE_NAME(), and vlc_entry__MODULE_NAME().
| #define set_subcategory | ( | id | ) |
Referenced by vlc_entry__core(), vlc_entry__MODULE_NAME(), and vlc_entry__MODULE_NAME().
| #define set_text_domain | ( | dom | ) |
| #define STRINGIFY_NAME | ( | z | ) |
| #define STRINGIFY_NAME_ | ( | z | ) |
| #define VLC_API_VERSION_EXPORT VLC_META_EXPORT(api_version, VLC_API_VERSION_STRING) |
| #define VLC_API_VERSION_STRING "4.0.6" |
Current plugin ABI version.
| #define VLC_CHECKED_TYPE | ( | type, | |
| value ) |
| #define VLC_CONFIG_INTEGER_ENUM | ( | cb | ) |
| #define vlc_config_set | ( | ... | ) |
| #define VLC_CONFIG_STRING_ENUM | ( | cb | ) |
| #define VLC_COPYRIGHT_EXPORT |
| #define VLC_COPYRIGHT_VIDEOLAN |
| #define VLC_DECL_MODULE_ENTRY | ( | name | ) |
| #define VLC_ENTRY_FUNC | ( | name | ) |
| #define VLC_LICENSE_EXPORT |
| #define VLC_LICENSE_GPL_2_PLUS |
| #define VLC_LICENSE_LGPL_2_1_PLUS |
| #define VLC_META_EXPORT | ( | name, | |
| value ) |
| #define VLC_METADATA_EXPORTS |
| #define vlc_module_begin | ( | ) |
| #define vlc_module_end | ( | ) |
Referenced by vlc_entry_api_version__core(), and vlc_entry_api_version__MODULE_NAME().
| #define VLC_MODULE_ENTRY | ( | name | ) |
Referenced by module_InitBank().
| #define VLC_MODULE_NAME_HIDDEN_SYMBOL |
| #define vlc_module_set | ( | ... | ) |
| #define vlc_plugin_set | ( | ... | ) |
| #define VLC_SYMBOL | ( | symbol | ) |
| typedef int(* vlc_plugin_cb) (vlc_set_cb, void *) |
Plugin entry point prototype.
| typedef int(* vlc_set_cb) (void *, void *, int,...) |
| enum vlc_config_cat |
| enum vlc_config_subcat |
| int vlc_entry__MODULE_NAME | ( | vlc_set_cb | vlc_set, |
| void * | opaque ) |
References add_bool, add_integer, add_obsolete_string, add_shortcut, add_string, add_submodule, change_integer_range, change_private, change_safe, change_volatile, Close(), N_, Open(), OpenSDP(), OpenURL(), RTCP_PORT_LONGTEXT, RTCP_PORT_TEXT, rtp_ac3_open(), rtp_h264_open(), rtp_h265_open(), RTP_MAX_DROPOUT_DEFAULT, RTP_MAX_DROPOUT_LONGTEXT, RTP_MAX_DROPOUT_TEXT, RTP_MAX_MISORDER_DEFAULT, RTP_MAX_MISORDER_LONGTEXT, RTP_MAX_MISORDER_TEXT, RTP_MAX_SRC_DEFAULT, RTP_MAX_SRC_LONGTEXT, RTP_MAX_SRC_TEXT, RTP_MAX_TIMEOUT_DEFAULT, rtp_mpeg12_open(), rtp_mpeg4_open(), rtp_opus_open(), rtp_pcm_open(), rtp_raw_open(), RTP_TIMEOUT_LONGTEXT, RTP_TIMEOUT_TEXT, set_callback, set_callbacks, set_capability, set_description, set_rtp_parser_callback, set_shortname, set_subcategory, SRTP_KEY_LONGTEXT, SRTP_KEY_TEXT, SRTP_SALT_LONGTEXT, SRTP_SALT_TEXT, SUBCAT_INPUT_ACCESS, SUBCAT_INPUT_DEMUX, theora_open(), and vorbis_open().
| int vlc_entry_cfg_int_enum__MODULE_NAME | ( | const char * | name, |
| int64_t ** | values, | ||
| char *** | descs ) |
References CDECL_SYMBOL, DLL_SYMBOL, EXTERN_SYMBOL, and name.
| int vlc_entry_cfg_str_enum__MODULE_NAME | ( | const char * | name, |
| char *** | values, | ||
| char *** | descs ) |
References CDECL_SYMBOL, and name.