
Go to the source code of this file.
Data Structures | |
| struct | config_category_t |
| union | module_value_t |
| union | module_nvalue_t |
| struct | module_config_t |
| struct | config_chain_t |
Defines | |
| #define | VLC_CONFIGURATION_H 1 |
| #define | CONFIG_HINT_CATEGORY 0x0002 |
| #define | CONFIG_HINT_SUBCATEGORY 0x0003 |
| #define | CONFIG_HINT_SUBCATEGORY_END 0x0004 |
| #define | CONFIG_HINT_USAGE 0x0005 |
| #define | CONFIG_CATEGORY 0x0006 |
| #define | CONFIG_SUBCATEGORY 0x0007 |
| #define | CONFIG_SECTION 0x0008 |
| #define | CONFIG_HINT 0x000F |
| #define | CONFIG_ITEM_STRING 0x0010 |
| #define | CONFIG_ITEM_FILE 0x0020 |
| #define | CONFIG_ITEM_MODULE 0x0030 |
| #define | CONFIG_ITEM_INTEGER 0x0040 |
| #define | CONFIG_ITEM_BOOL 0x0050 |
| #define | CONFIG_ITEM_FLOAT 0x0060 |
| #define | CONFIG_ITEM_DIRECTORY 0x0070 |
| #define | CONFIG_ITEM_KEY 0x0080 |
| #define | CONFIG_ITEM_MODULE_CAT 0x0090 |
| #define | CONFIG_ITEM_MODULE_LIST 0x00A0 |
| #define | CONFIG_ITEM_MODULE_LIST_CAT 0x00B0 |
| #define | CONFIG_ITEM_FONT 0x00C0 |
| #define | CONFIG_ITEM_PASSWORD 0x00D0 |
| #define | CONFIG_ITEM 0x00F0 |
| #define | CAT_INTERFACE 1 |
| #define | SUBCAT_INTERFACE_GENERAL 101 |
| #define | SUBCAT_INTERFACE_MAIN 102 |
| #define | SUBCAT_INTERFACE_CONTROL 103 |
| #define | SUBCAT_INTERFACE_HOTKEYS 104 |
| #define | CAT_AUDIO 2 |
| #define | SUBCAT_AUDIO_GENERAL 201 |
| #define | SUBCAT_AUDIO_AOUT 202 |
| #define | SUBCAT_AUDIO_AFILTER 203 |
| #define | SUBCAT_AUDIO_VISUAL 204 |
| #define | SUBCAT_AUDIO_MISC 205 |
| #define | CAT_VIDEO 3 |
| #define | SUBCAT_VIDEO_GENERAL 301 |
| #define | SUBCAT_VIDEO_VOUT 302 |
| #define | SUBCAT_VIDEO_VFILTER 303 |
| #define | SUBCAT_VIDEO_TEXT 304 |
| #define | SUBCAT_VIDEO_SUBPIC 305 |
| #define | SUBCAT_VIDEO_VFILTER2 306 |
| #define | CAT_INPUT 4 |
| #define | SUBCAT_INPUT_GENERAL 401 |
| #define | SUBCAT_INPUT_ACCESS 402 |
| #define | SUBCAT_INPUT_DEMUX 403 |
| #define | SUBCAT_INPUT_VCODEC 404 |
| #define | SUBCAT_INPUT_ACODEC 405 |
| #define | SUBCAT_INPUT_SCODEC 406 |
| #define | SUBCAT_INPUT_STREAM_FILTER 407 |
| #define | CAT_SOUT 5 |
| #define | SUBCAT_SOUT_GENERAL 501 |
| #define | SUBCAT_SOUT_STREAM 502 |
| #define | SUBCAT_SOUT_MUX 503 |
| #define | SUBCAT_SOUT_ACO 504 |
| #define | SUBCAT_SOUT_PACKETIZER 505 |
| #define | SUBCAT_SOUT_SAP 506 |
| #define | SUBCAT_SOUT_VOD 507 |
| #define | CAT_ADVANCED 6 |
| #define | SUBCAT_ADVANCED_CPU 601 |
| #define | SUBCAT_ADVANCED_MISC 602 |
| #define | SUBCAT_ADVANCED_NETWORK 603 |
| #define | SUBCAT_ADVANCED_XML 604 |
| #define | CAT_PLAYLIST 7 |
| #define | SUBCAT_PLAYLIST_GENERAL 701 |
| #define | SUBCAT_PLAYLIST_SD 702 |
| #define | SUBCAT_PLAYLIST_EXPORT 703 |
| #define | CAT_OSD 8 |
| #define | SUBCAT_OSD_IMPORT 801 |
| #define | config_SaveConfigFile(a, b) __config_SaveConfigFile(VLC_OBJECT(a),b) |
| #define | config_ResetAll(a) __config_ResetAll(VLC_OBJECT(a)) |
| #define | config_GetType(a, b) __config_GetType(VLC_OBJECT(a),b) |
| #define | config_GetInt(a, b) __config_GetInt(VLC_OBJECT(a),b) |
| #define | config_PutInt(a, b, c) __config_PutInt(VLC_OBJECT(a),b,c) |
| #define | config_GetFloat(a, b) __config_GetFloat(VLC_OBJECT(a),b) |
| #define | config_PutFloat(a, b, c) __config_PutFloat(VLC_OBJECT(a),b,c) |
| #define | config_GetPsz(a, b) __config_GetPsz(VLC_OBJECT(a),b) |
| #define | config_PutPsz(a, b, c) __config_PutPsz(VLC_OBJECT(a),b,c) |
| #define | config_AddIntf(a, b) __config_AddIntf(VLC_OBJECT(a),b) |
| #define | config_RemoveIntf(a, b) __config_RemoveIntf(VLC_OBJECT(a),b) |
| #define | config_ExistIntf(a, b) __config_ExistIntf(VLC_OBJECT(a),b) |
| #define | config_ChainParse(a, b, c, d) __config_ChainParse( VLC_OBJECT(a), b, c, d ) |
This function will
| |
Typedefs | |
| typedef enum vlc_userdir | vlc_userdir_t |
Enumerations | |
| enum | vlc_userdir { VLC_HOME_DIR, VLC_CONFIG_DIR, VLC_DATA_DIR, VLC_CACHE_DIR, VLC_DESKTOP_DIR = 0x80, VLC_DOWNLOAD_DIR, VLC_TEMPLATES_DIR, VLC_PUBLICSHARE_DIR, VLC_DOCUMENTS_DIR, VLC_MUSIC_DIR, VLC_PICTURES_DIR, VLC_VIDEOS_DIR } |
Functions | |
| int | __config_GetType (vlc_object_t *, const char *) |
| int | __config_GetInt (vlc_object_t *, const char *) |
| void | __config_PutInt (vlc_object_t *, const char *, int) |
| float | __config_GetFloat (vlc_object_t *, const char *) |
| void | __config_PutFloat (vlc_object_t *, const char *, float) |
| char * | __config_GetPsz (vlc_object_t *, const char *) |
| void | __config_PutPsz (vlc_object_t *, const char *, const char *) |
| int | __config_SaveConfigFile (vlc_object_t *, const char *) |
| void | __config_ResetAll (vlc_object_t *) |
| module_config_t * | config_FindConfig (vlc_object_t *, const char *) |
| const char * | config_GetDataDir (void) |
| Determines the shared data directory. | |
| const char * | config_GetConfDir (void) |
| Determines the system configuration directory. | |
| char * | config_GetUserDir (vlc_userdir_t) |
| void | __config_AddIntf (vlc_object_t *, const char *) |
| void | __config_RemoveIntf (vlc_object_t *, const char *) |
| bool | __config_ExistIntf (vlc_object_t *, const char *) |
| void | __config_ChainParse (vlc_object_t *, const char *psz_prefix, const char *const *ppsz_options, config_chain_t *) |
| char * | config_ChainCreate (char **ppsz_name, config_chain_t **pp_cfg, const char *psz_string) |
This function will parse a configuration string (psz_string) and
| |
| void | config_ChainDestroy (config_chain_t *) |
| This function will release a linked list of config_chain_t (Including the head). | |
| config_chain_t * | config_ChainDuplicate (const config_chain_t *) |
| This function will duplicate a linked list of config_chain_t. | |
| char * | config_StringUnescape (char *psz_string) |
| This function will unescape a string in place and will return a pointer on the given string. | |
| char * | config_StringEscape (const char *psz_string) |
| This function will escape a string that can be unescaped by config_StringUnescape. | |
It includes functions allowing to declare, get or set configuration options.
| #define CAT_ADVANCED 6 |
Referenced by PrefsTree::PrefsTree().
| #define CAT_AUDIO 2 |
Referenced by PrefsTree::PrefsTree().
| #define CAT_INPUT 4 |
Referenced by PrefsTree::PrefsTree().
| #define CAT_INTERFACE 1 |
Referenced by PrefsTree::PrefsTree().
| #define CAT_OSD 8 |
| #define CAT_PLAYLIST 7 |
Referenced by PrefsTree::PrefsTree().
| #define CAT_SOUT 5 |
Referenced by PrefsTree::PrefsTree().
| #define CAT_VIDEO 3 |
Referenced by PrefsTree::PrefsTree().
| #define config_AddIntf | ( | a, | |||
| b | ) | __config_AddIntf(VLC_OBJECT(a),b) |
Referenced by VLCSimplePrefs::saveChangedSettings.
| #define CONFIG_CATEGORY 0x0006 |
| #define config_ChainParse | ( | a, | |||
| b, | |||||
| c, | |||||
| d | ) | __config_ChainParse( VLC_OBJECT(a), b, c, d ) |
This function will
The option names will be created by adding the psz_prefix prefix.
Referenced by Activate(), Create(), CreateFilter(), Open(), Open_LuaIntf(), OpenCommon(), OpenFilter(), OpenIn(), OpenMux(), OpenOut(), and OpenPostproc().
| #define config_ExistIntf | ( | a, | |||
| b | ) | __config_ExistIntf(VLC_OBJECT(a),b) |
Referenced by VLCSimplePrefs::resetControls, and SPrefsPanel::SPrefsPanel().
| #define config_GetFloat | ( | a, | |||
| b | ) | __config_GetFloat(VLC_OBJECT(a),b) |
| #define config_GetInt | ( | a, | |||
| b | ) | __config_GetInt(VLC_OBJECT(a),b) |
Referenced by __aout_ToggleMute(), __aout_VolumeGet(), __aout_VolumeUp(), __osd_MenuActivate(), __osd_MenuCreate(), __osd_MenuDown(), __osd_MenuUp(), __osd_Volume(), __vlc_thread_set_priority(), __vout_OSDMessage(), _sout_stream_url_to_chain(), AccessOpen(), Activate(), aout_new_buffer(), aout_OutputNew(), aout_VolumeSoftInit(), ConfigWidget::Apply(), VLCEqualizer::bandSliderUpdated:, BoolConfigControl::BoolConfigControl, CDDAFixupPlaylist(), CDDAOpen(), VLCEqualizer::changePreset:, CheckAndSend(), VLCApplication::coreChangedMediaKeySupportSetting:, create_menu(), decoder_SynchroInit(), DecoderOpen(), DemuxOpen(), EbmlParser::EbmlParser(), VLCEmbeddedWindow::enterFullscreen, VLCEqualizer::equalizerUpdated, EvaluateRPN(), VLCFSPanel::fadeIn, FileOpenPanel::FileOpenPanel(), FullscreenControllerWidget::FullscreenControllerWidget(), gnutls_ServerSessionPrepare(), Import_ASX(), InheritValue(), Init(), InitDisplay(), VLCInfo::initPanel, InitVideoDec(), InputManager::jumpBwd(), InputManager::jumpFwd(), libvlc_InternalInit(), ListModules(), MacroDo(), MainInterface::MainInterface(), VLCMain::manageIntf:, Mapping(), MediaControlView::MediaControlView(), module_EndBank(), module_LoadPlugins(), NetOpenPanel::NetOpenPanel(), OpenDialog::NetPanel(), Notify(), Open(), OpenDecoder(), OpenDisplay(), VLCOpen::openFile, OpenFilter(), OpenIntf(), VLCOpen::openNetInfoChanged:, VLCOpen::openNetUDPButtonAction:, OpenServer(), VLCOpen::openTarget:, OpenVideo(), osd_VolumeStep(), Interpreter::parseAction(), matroska_segment_c::ParseChapters(), Playlist(), playlist_Create(), playlist_MLDump(), playlist_MLLoad(), VLCEqualizer::preampSliderUpdated:, PrefsDialog::PrefsDialog(), Probe(), Process(), RenderText(), EbmlParser::Reset(), VLCSimplePrefs::resetControls, Run(), RunIntf(), VLCSimplePrefs::saveChangedSettings, Seek(), VideoWidget::SetFullScreen(), VLCExtended::showPanel, SoundWidget::SoundWidget(), spectrometer_Run(), spectrum_Run(), SPrefsPanel::SPrefsPanel(), WindowManager::startMove(), WindowManager::stopMove(), system_Configure(), Thread(), VLCEqualizer::twopass:, OpenDialog::UpdateMRL(), Equalizer::updateUIFromCore(), Usage(), VCDOpen(), VCDParse(), VideoWindow::VideoWindow(), vlc_threads_setup(), vlclua_config_get(), VolumeChanged(), VolumeMove(), VLCControls::volumeSliderUpdated:, vout_DisplayTitle(), vout_NewDisplayWindow(), vout_OSDIcon(), vout_OSDSlider(), WindowOpen(), SubsFileDialog::WndProc(), Interface::WndProc(), and PrefsDialog::WndProc().
| #define config_GetPsz | ( | a, | |||
| b | ) | __config_GetPsz(VLC_OBJECT(a),b) |
Referenced by __config_AddIntf(), __config_ExistIntf(), __config_RemoveIntf(), Activate(), AoutChangeFilterString(), ConfigWidget::Apply(), CDDAFormatTitle(), CDDAOpen(), VLCExtended::changeAFiltersString:onOrOff:, VLCExtended::changeVideoFiltersString:onOrOff:, VLCExtended::changeVoutFiltersString:onOrOff:, CheckAndSend(), config_GetConfigFile(), Create(), DiscOpenPanel::DiscOpenPanel(), Eject(), EvaluateRPN(), OpenDialog::FilePanel(), FindMeta(), Handshake(), InheritValue(), Init(), libvlc_InternalAddIntf(), libvlc_InternalCleanup(), libvlc_InternalInit(), ThemeLoader::load(), Theme::loadConfig(), MacroDo(), MMSHOpen(), NTServiceInstall(), Open(), OpenDisplay(), OpenFilter(), osd_parser_simpleOpen(), VLCSimplePrefs::resetControls, Run(), VLCSimplePrefs::saveChangedSettings, ServiceDispatch(), VLCSimplePrefs::showFontPicker:, SoundWidget::SoundWidget(), Spatializer::Spatializer(), SPrefsPanel::SPrefsPanel(), svg_GetTemplate(), VlcProc::update_equalizer(), Equalizer::updateUIFromCore(), VCDMetaInfo(), VCDParse(), VCDUpdateTitle(), vlclua_config_get(), vout_IntfInit(), and SubsFileDialog::WndProc().
| #define config_GetType | ( | a, | |||
| b | ) | __config_GetType(VLC_OBJECT(a),b) |
Referenced by __config_ChainParse(), __vlc_thread_set_priority(), EvaluateRPN(), var_OptionParse(), vlclua_config_get(), and vlclua_config_set().
| #define CONFIG_HINT 0x000F |
Referenced by __config_LoadCmdLine(), __config_LoadConfigFile(), config_FindConfig(), and SaveConfigFile().
| #define CONFIG_HINT_CATEGORY 0x0002 |
Referenced by Usage().
| #define CONFIG_HINT_SUBCATEGORY 0x0003 |
Referenced by Usage().
| #define CONFIG_HINT_SUBCATEGORY_END 0x0004 |
| #define CONFIG_HINT_USAGE 0x0005 |
Referenced by Usage().
| #define CONFIG_ITEM 0x00F0 |
| #define CONFIG_ITEM_BOOL 0x0050 |
Referenced by __config_GetType(), __config_LoadCmdLine(), __config_LoadConfigFile(), ConfigWidget::Apply(), PrefsPanel::ApplyChanges(), VLCConfigControl::applyChanges, VLCConfigControl::calcVerticalMargin:lastItem:, ConfigWidget::ConfigWidget(), CreateConfigControl(), ConfigControl::createControl(), ConfigControl::doApply(), BoolConfigControl::getType, BoolConfigControl::initWithItem:withView:, IsConfigIntegerType(), VLCConfigControl::newControl:withView:, SaveConfigFile(), Usage(), and vlc_config_create().
| #define CONFIG_ITEM_DIRECTORY 0x0070 |
Referenced by __config_GetType(), __config_LoadCmdLine(), ConfigWidget::Apply(), PrefsPanel::ApplyChanges(), VLCConfigControl::applyChanges, ConfigWidget::ConfigWidget(), ConfigControl::createControl(), FileConfigControl::initWithItem:withView:, IsConfigStringType(), VLCConfigControl::newControl:withView:, and Usage().
| #define CONFIG_ITEM_FILE 0x0020 |
Referenced by __config_GetType(), __config_LoadCmdLine(), ConfigWidget::Apply(), PrefsPanel::ApplyChanges(), VLCConfigControl::applyChanges, VLCConfigControl::calcVerticalMargin:lastItem:, ConfigWidget::ConfigWidget(), ConfigControl::createControl(), FileConfigControl::initWithItem:withView:, IsConfigStringType(), VLCConfigControl::newControl:withView:, and Usage().
| #define CONFIG_ITEM_FLOAT 0x0060 |
Referenced by __config_GetType(), __config_LoadCmdLine(), __config_LoadConfigFile(), ConfigWidget::Apply(), PrefsPanel::ApplyChanges(), VLCConfigControl::applyChanges, ConfigWidget::ConfigWidget(), CreateConfigControl(), ConfigControl::createControl(), ConfigControl::doApply(), VFloatConfigControl::getType(), IsConfigFloatType(), VLCConfigControl::newControl:withView:, and Usage().
| #define CONFIG_ITEM_FONT 0x00C0 |
Referenced by ConfigControl::createControl(), IsConfigStringType(), and Usage().
| #define CONFIG_ITEM_INTEGER 0x0040 |
Referenced by __config_GetType(), __config_LoadCmdLine(), __config_LoadConfigFile(), ConfigWidget::Apply(), PrefsPanel::ApplyChanges(), VLCConfigControl::applyChanges, VLCConfigControl::calcVerticalMargin:lastItem:, ConfigWidget::ConfigWidget(), ConfigControl::createControl(), ConfigControl::doApply(), VIntConfigControl::getType(), FloatConfigControl::initWithItem:withView:, IntegerConfigControl::initWithItem:withView:, IsConfigIntegerType(), VLCConfigControl::newControl:withView:, and Usage().
| #define CONFIG_ITEM_KEY 0x0080 |
Referenced by __config_GetType(), __config_LoadCmdLine(), __config_LoadConfigFile(), ConfigWidget::Apply(), PrefsPanel::ApplyChanges(), VLCConfigControl::applyChanges, ConfigWidget::ConfigWidget(), CreateConfigControl(), ConfigControl::createControl(), ConfigControl::doApply(), KeySelectorControl::getType(), IsConfigIntegerType(), VLCConfigControl::newControl:withView:, SaveConfigFile(), and Usage().
| #define CONFIG_ITEM_MODULE 0x0030 |
Referenced by __config_GetType(), __config_LoadCmdLine(), ConfigWidget::Apply(), PrefsPanel::ApplyChanges(), VLCConfigControl::applyChanges, VLCConfigControl::calcVerticalMargin:lastItem:, ConfigWidget::ConfigWidget(), CreateConfigControl(), ConfigControl::createControl(), ModuleConfigControl::initWithItem:withView:, IsConfigStringType(), VLCConfigControl::newControl:withView:, and Usage().
| #define CONFIG_ITEM_MODULE_CAT 0x0090 |
| #define CONFIG_ITEM_MODULE_LIST 0x00A0 |
| #define CONFIG_ITEM_MODULE_LIST_CAT 0x00B0 |
| #define CONFIG_ITEM_PASSWORD 0x00D0 |
| #define CONFIG_ITEM_STRING 0x0010 |
Referenced by __config_GetType(), __config_LoadCmdLine(), ConfigWidget::Apply(), PrefsPanel::ApplyChanges(), VLCConfigControl::applyChanges, VLCConfigControl::calcVerticalMargin:lastItem:, ConfigWidget::ConfigWidget(), CreateConfigControl(), ConfigControl::createControl(), ConfigControl::doApply(), VStringConfigControl::getType(), StringConfigControl::initWithItem:withView:, IsConfigStringType(), VLCConfigControl::newControl:withView:, and Usage().
| #define config_PutFloat | ( | a, | |||
| b, | |||||
| c | ) | __config_PutFloat(VLC_OBJECT(a),b,c) |
Referenced by __config_LoadCmdLine(), ConfigWidget::Apply(), PrefsPanel::ApplyChanges(), VLCConfigControl::applyChanges, VLCEqualizer::changePreset:, ConfigControl::doApply(), EvaluateRPN(), MacroDo(), VLCExtended::opaqueSliderAction:, VLCEqualizer::preampSliderUpdated:, VLCSimplePrefs::saveChangedSettings, EqualizerPreamp::set(), VLCExtended::sliderActionAdjustImage:, VLCExtended::sliderActionMaximumAudioLevel:, and vlclua_config_set().
| #define config_PutInt | ( | a, | |||
| b, | |||||
| c | ) | __config_PutInt(VLC_OBJECT(a),b,c) |
Referenced by __aout_VolumeSet(), __config_LoadCmdLine(), VLCMain::applicationWillTerminate:, ConfigWidget::Apply(), PrefsPanel::ApplyChanges(), VLCConfigControl::applyChanges, KeySelectorControl::doApply(), ConfigControl::doApply(), dropframe_cb(), EvaluateRPN(), libvlc_InternalInit(), VLCControls::loop:, MacroDo(), VLCControls::random:, VLCControls::repeat:, VLCControls::repeatButtonAction:, VLCSimplePrefs::saveChangedSettings, PLModel::setLoop(), PLModel::setRandom(), PLModel::setRepeat(), VLCExtended::sliderActionAdjustImage:, VLCOutput::TTLChanged:, VLCEqualizer::twopass:, and vlclua_config_set().
| #define config_PutPsz | ( | a, | |||
| b, | |||||
| c | ) | __config_PutPsz(VLC_OBJECT(a),b,c) |
Referenced by __config_AddIntf(), __config_LoadCmdLine(), __config_RemoveIntf(), PodcastConfigDialog::accept(), AoutChangeFilterString(), SPrefsPanel::apply(), ConfigWidget::Apply(), PrefsPanel::ApplyChanges(), VLCConfigControl::applyChanges, VLCEqualizer::bandSliderUpdated:, VLCExtended::changeAFiltersString:onOrOff:, VLCEqualizer::changePreset:, VLCExtended::changeVideoFiltersString:onOrOff:, VLCExtended::changeVoutFiltersString:onOrOff:, ConfigControl::doApply(), EvaluateRPN(), libvlc_audio_output_device_set(), libvlc_audio_output_set(), libvlc_InternalInit(), ThemeLoader::load(), MacroDo(), InterfaceWindow::MessageReceived(), RunIntf(), VLCSimplePrefs::saveChangedSettings, Theme::saveConfig(), SetBookmark(), vlclua_config_set(), and vout_EnableFilter().
| #define config_RemoveIntf | ( | a, | |||
| b | ) | __config_RemoveIntf(VLC_OBJECT(a),b) |
Referenced by VLCSimplePrefs::saveChangedSettings.
| #define config_ResetAll | ( | a | ) | __config_ResetAll(VLC_OBJECT(a)) |
| #define config_SaveConfigFile | ( | a, | |||
| b | ) | __config_SaveConfigFile(VLC_OBJECT(a),b) |
Referenced by PodcastConfigDialog::accept(), VLCEqualizer::bandSliderUpdated:, VLCEqualizer::changePreset:, EvaluateRPN(), libvlc_InternalInit(), PreferencesWindow::MessageReceived(), PrefsDialog::OnOk(), VLCEqualizer::preampSliderUpdated:, Run(), VLCSimplePrefs::saveChangedSettings, VLCExtended::savePrefs, VLCPrefs::savePrefs:, SetBookmark(), VLCSimplePrefs::sheetDidEnd:returnCode:contextInfo:, and VLCEqualizer::twopass:.
| #define CONFIG_SECTION 0x0008 |
Referenced by AdvPrefsPanel::AdvPrefsPanel(), ConfigWidget::ConfigWidget(), and Usage().
| #define CONFIG_SUBCATEGORY 0x0007 |
| #define SUBCAT_ADVANCED_CPU 601 |
| #define SUBCAT_ADVANCED_MISC 602 |
Referenced by PrefsTree::PrefsTree(), and PrefsTreeCtrl::PrefsTreeCtrl().
| #define SUBCAT_ADVANCED_NETWORK 603 |
| #define SUBCAT_ADVANCED_XML 604 |
| #define SUBCAT_AUDIO_AFILTER 203 |
| #define SUBCAT_AUDIO_AOUT 202 |
| #define SUBCAT_AUDIO_GENERAL 201 |
Referenced by PrefsTree::PrefsTree(), and PrefsTreeCtrl::PrefsTreeCtrl().
| #define SUBCAT_AUDIO_MISC 205 |
| #define SUBCAT_AUDIO_VISUAL 204 |
| #define SUBCAT_INPUT_ACCESS 402 |
| #define SUBCAT_INPUT_ACODEC 405 |
| #define SUBCAT_INPUT_DEMUX 403 |
| #define SUBCAT_INPUT_GENERAL 401 |
Referenced by PrefsTree::PrefsTree(), and PrefsTreeCtrl::PrefsTreeCtrl().
| #define SUBCAT_INPUT_SCODEC 406 |
| #define SUBCAT_INPUT_STREAM_FILTER 407 |
| #define SUBCAT_INPUT_VCODEC 404 |
| #define SUBCAT_INTERFACE_CONTROL 103 |
| #define SUBCAT_INTERFACE_GENERAL 101 |
Referenced by PrefsTree::PrefsTree(), and PrefsTreeCtrl::PrefsTreeCtrl().
| #define SUBCAT_INTERFACE_HOTKEYS 104 |
| #define SUBCAT_INTERFACE_MAIN 102 |
| #define SUBCAT_OSD_IMPORT 801 |
| #define SUBCAT_PLAYLIST_EXPORT 703 |
| #define SUBCAT_PLAYLIST_GENERAL 701 |
Referenced by PrefsTree::PrefsTree(), and PrefsTreeCtrl::PrefsTreeCtrl().
| #define SUBCAT_PLAYLIST_SD 702 |
| #define SUBCAT_SOUT_ACO 504 |
| #define SUBCAT_SOUT_GENERAL 501 |
Referenced by PrefsTree::PrefsTree(), and PrefsTreeCtrl::PrefsTreeCtrl().
| #define SUBCAT_SOUT_MUX 503 |
| #define SUBCAT_SOUT_PACKETIZER 505 |
| #define SUBCAT_SOUT_SAP 506 |
| #define SUBCAT_SOUT_STREAM 502 |
| #define SUBCAT_SOUT_VOD 507 |
| #define SUBCAT_VIDEO_GENERAL 301 |
Referenced by PrefsTree::PrefsTree(), and PrefsTreeCtrl::PrefsTreeCtrl().
| #define SUBCAT_VIDEO_SUBPIC 305 |
| #define SUBCAT_VIDEO_TEXT 304 |
| #define SUBCAT_VIDEO_VFILTER 303 |
| #define SUBCAT_VIDEO_VFILTER2 306 |
| #define SUBCAT_VIDEO_VOUT 302 |
| #define VLC_CONFIGURATION_H 1 |
| typedef enum vlc_userdir vlc_userdir_t |
| enum vlc_userdir |
| void __config_AddIntf | ( | vlc_object_t * | , | |
| const char * | ||||
| ) |
References asprintf(), config_GetPsz, config_PutPsz, and vlc_object_t::p_libvlc.
| void __config_ChainParse | ( | vlc_object_t * | , | |
| const char * | psz_prefix, | |||
| const char *const * | ppsz_options, | |||
| config_chain_t * | ||||
| ) |
References vlc_value_t::b_bool, module_config_t::b_removed, config_FindConfig(), config_GetType, CONFIG_ITEM, vlc_value_t::f_float, i, vlc_value_t::i_int, i_type, msg_Dbg, msg_Err, msg_Warn, name, config_chain_t::p_next, module_config_t::psz_name, psz_name, config_chain_t::psz_name, module_config_t::psz_oldname, vlc_value_t::psz_string, config_chain_t::psz_value, us_atof(), var_Create, var_Get, var_Set, VLC_VAR_BOOL, VLC_VAR_DOINHERIT, VLC_VAR_FLOAT, VLC_VAR_INTEGER, VLC_VAR_MODULE, and VLC_VAR_STRING.
| bool __config_ExistIntf | ( | vlc_object_t * | , | |
| const char * | ||||
| ) |
References config_GetPsz, and vlc_object_t::p_libvlc.
| float __config_GetFloat | ( | vlc_object_t * | , | |
| const char * | ||||
| ) |
| int __config_GetInt | ( | vlc_object_t * | , | |
| const char * | ||||
| ) |
| char* __config_GetPsz | ( | vlc_object_t * | , | |
| const char * | ||||
| ) |
| int __config_GetType | ( | vlc_object_t * | , | |
| const char * | ||||
| ) |
References config_FindConfig(), CONFIG_ITEM_BOOL, CONFIG_ITEM_DIRECTORY, CONFIG_ITEM_FILE, CONFIG_ITEM_FLOAT, CONFIG_ITEM_INTEGER, CONFIG_ITEM_KEY, CONFIG_ITEM_MODULE, CONFIG_ITEM_MODULE_CAT, CONFIG_ITEM_MODULE_LIST, CONFIG_ITEM_MODULE_LIST_CAT, CONFIG_ITEM_PASSWORD, CONFIG_ITEM_STRING, module_config_t::i_type, i_type, VLC_VAR_BOOL, VLC_VAR_DIRECTORY, VLC_VAR_FILE, VLC_VAR_FLOAT, VLC_VAR_INTEGER, VLC_VAR_MODULE, and VLC_VAR_STRING.
| void __config_PutFloat | ( | vlc_object_t * | , | |
| const char * | , | |||
| float | ||||
| ) |
References module_config_t::b_dirty, config_FindConfig(), module_nvalue_t::f, module_value_t::f, vlc_value_t::f_float, module_config_t::i_type, IsConfigFloatType(), module_config_t::max, module_config_t::min, msg_Err, msg_Warn, module_config_t::p_callback_data, module_config_t::pf_callback, and module_config_t::value.
| void __config_PutInt | ( | vlc_object_t * | , | |
| const char * | , | |||
| int | ||||
| ) |
References module_config_t::b_dirty, config_FindConfig(), module_nvalue_t::i, module_value_t::i, vlc_value_t::i_int, module_config_t::i_type, IsConfigIntegerType(), module_config_t::max, module_config_t::min, msg_Err, msg_Warn, module_config_t::p_callback_data, module_config_t::pf_callback, and module_config_t::value.
| void __config_PutPsz | ( | vlc_object_t * | , | |
| const char * | , | |||
| const char * | ||||
| ) |
References module_config_t::b_dirty, config_FindConfig(), module_config_t::i_type, IsConfigStringType(), msg_Err, msg_Warn, module_config_t::p_callback_data, module_config_t::p_lock, module_config_t::pf_callback, module_value_t::psz, vlc_value_t::psz_string, strdup(), module_config_t::value, vlc_mutex_lock(), and vlc_mutex_unlock().
| void __config_RemoveIntf | ( | vlc_object_t * | , | |
| const char * | ||||
| ) |
References asprintf(), config_GetPsz, config_PutPsz, and vlc_object_t::p_libvlc.
| void __config_ResetAll | ( | vlc_object_t * | ) |
References module_t::b_submodule, module_t::confsize, module_value_t::f, module_value_t::i, i, module_config_t::i_type, IsConfigFloatType(), IsConfigIntegerType(), IsConfigStringType(), module_list_free(), module_list_get(), module_config_t::orig, module_t::p_config, module_config_t::p_lock, module_value_t::psz, strdupnull(), module_config_t::value, vlc_mutex_lock(), vlc_mutex_unlock(), and VLC_UNUSED.
| int __config_SaveConfigFile | ( | vlc_object_t * | , | |
| const char * | ||||
| ) |
References SaveConfigFile().
| char* config_ChainCreate | ( | char ** | ppsz_name, | |
| config_chain_t ** | pp_cfg, | |||
| const char * | psz_string | |||
| ) |
This function will parse a configuration string (psz_string) and
The string format is module{option=*,option=*}[:modulenext{option=*,...}]
The options values are unescaped using config_StringUnescape.
References ChainGetValue(), config_chain_t::p_next, config_chain_t::psz_name, config_chain_t::psz_value, strdup(), and strndup().
Referenced by __vout_Create(), filter_chain_AppendFromStringInternal(), intf_Create(), sout_AccessOutNew(), sout_MuxNew(), and sout_StreamNew().
| void config_ChainDestroy | ( | config_chain_t * | ) |
This function will release a linked list of config_chain_t (Including the head).
References FREENULL, config_chain_t::p_next, config_chain_t::psz_name, and config_chain_t::psz_value.
Referenced by __vout_Create(), intf_Create(), intf_DestroyAll(), sout_AccessOutDelete(), sout_MuxDelete(), sout_StreamDelete(), and vout_Destructor().
| config_chain_t* config_ChainDuplicate | ( | const config_chain_t * | ) |
This function will duplicate a linked list of config_chain_t.
References p_dst, config_chain_t::p_next, config_chain_t::psz_name, config_chain_t::psz_value, and strdup().
| module_config_t* config_FindConfig | ( | vlc_object_t * | , | |
| const char * | ||||
| ) |
References CONFIG_HINT, module_t::confsize, i, module_t::i_config_items, module_config_t::i_type, module_list_free(), module_list_get(), module_t::p_config, p_item, module_config_t::psz_name, module_config_t::psz_oldname, and VLC_UNUSED.
Referenced by __config_ChainParse(), __config_GetFloat(), __config_GetInt(), __config_GetPsz(), __config_GetType(), __config_LoadCmdLine(), __config_PutFloat(), __config_PutInt(), __config_PutPsz(), aout_InputNew(), ConfigDevicesCallback(), DeinterlaceEnable(), FindDevicesCallback(), CaptureOpenPanel::initialize(), IntegerListConfigControl::IntegerListConfigControl, libvlc_audio_output_device_count(), libvlc_audio_output_device_id(), libvlc_audio_output_device_longname(), VLCOpen::openTarget:, ReloadWaveoutDevices(), VLCSimplePrefs::resetControls, setfillVLCConfigCombo(), VLCOpen::setSubPanel, SPrefsPanel::SPrefsPanel(), StringListConfigControl::StringListConfigControl, var_OptionParse(), and SubsFileDialog::WndProc().
| const char* config_GetConfDir | ( | void | ) |
Determines the system configuration directory.
References DIR_SEP, MAX_PATH, and psz_vlcpath.
Referenced by OpenClient().
| const char* config_GetDataDir | ( | void | ) |
Determines the shared data directory.
References DIR_SEP, psz_vlcpath, and strlcpy().
Referenced by ItemChange(), LoadMessages(), Run(), vlclua_datadir(), and vlclua_dir_list().
| char* config_GetUserDir | ( | vlc_userdir_t | ) |
References config_GetAppDir(), config_GetHomeDir(), config_GetShellDir(), config_GetTypeDir(), config_GetUserDir(), VLC_CACHE_DIR, VLC_CONFIG_DIR, VLC_DATA_DIR, VLC_DESKTOP_DIR, VLC_DOCUMENTS_DIR, VLC_DOWNLOAD_DIR, VLC_HOME_DIR, VLC_MUSIC_DIR, VLC_PICTURES_DIR, VLC_PUBLICSHARE_DIR, VLC_TEMPLATES_DIR, and VLC_VIDEOS_DIR.
Referenced by ArtCacheGetDirPath(), AssHandleHold(), config_GetConfigFile(), config_GetUserDir(), config_OpenConfigFile(), config_PrepareDir(), Create(), EsOutSetRecord(), libvlc_media_library_load(), MP4_ReadBox_sample_soun(), MP4_ReadBox_sample_vide(), Open(), OpenClient(), playlist_MLDump(), playlist_MLLoad(), QVLCUserDir(), RealPath(), Start(), Trigger(), vlclua_cachedir(), vlclua_configdir(), vlclua_dir_list(), vlclua_homedir(), vlclua_userdatadir(), and vout_snapshot_GetDirectory().
| char* config_StringEscape | ( | const char * | psz_string | ) |
This function will escape a string that can be unescaped by config_StringUnescape.
The returned value is allocated by it. You have to free it once you do not need it anymore (unlike config_StringUnescape). If NULL is given as parameter nothing will be done (NULL will be returned).
The escaped characters are ' " and \
References IsEscapeNeeded().
Referenced by SoutMrl::option().
| char* config_StringUnescape | ( | char * | psz_string | ) |
This function will unescape a string in place and will return a pointer on the given string.
No memory is allocated by it (unlike config_StringEscape). If NULL is given as parameter nothing will be done (NULL will be returned).
The following sequences will be unescaped (only one time): \ \' and \"
References IsEscape().
Referenced by ChainGetValue().
1.5.6