25#ifndef VLC_CONFIGURATION_H
26#define VLC_CONFIGURATION_H 1
232#define config_SaveConfigFile(a) config_SaveConfigFile(vlc_object_instance(a))
333#define config_ChainParse( a, b, c, d ) config_ChainParse( VLC_OBJECT(a), b, c, d )
#define VLC_USED
Definition: fourcc_gen.c:32
#define VLC_API
Definition: fourcc_gen.c:31
#define VLC_MALLOC
Definition: vlc_common.h:164
int config_GetType(const char *name)
Gets a configuration item type.
Definition: core.c:56
const char * config_ChainParseOptions(config_chain_t **pp_cfg, const char *ppsz_opts)
This function will parse a configuration string (psz_opts) and.
Definition: chain.c:180
enum vlc_user_dir vlc_userdir_t
module_config_t * config_FindConfig(const char *name)
Looks up a configuration item.
Definition: core.c:463
bool config_ExistIntf(const char *)
Definition: intf.c:136
config_chain_t * config_ChainDuplicate(const config_chain_t *)
This function will duplicate a linked list of config_chain_t.
Definition: chain.c:428
vlc_system_dir
System directory identifiers.
Definition: vlc_configuration.h:259
float config_GetFloat(const char *name)
Gets a floating point configuration item's value.
Definition: core.c:96
int64_t config_GetInt(const char *name)
Gets an integer configuration item's value.
Definition: core.c:85
void config_RemoveIntf(const char *)
Definition: intf.c:82
void config_PutInt(const char *name, int64_t val)
Sets an integer configuration item's value.
Definition: core.c:154
int(* vlc_string_list_cb)(const char *, char ***, char ***)
Definition: vlc_configuration.h:60
int(* vlc_integer_list_cb)(const char *, int64_t **, char ***)
Definition: vlc_configuration.h:61
char * config_StringEscape(const char *psz_string)
This function will escape a string that can be unescaped by config_StringUnescape.
Definition: chain.c:466
char * config_StringUnescape(char *psz_string)
This function will unescape a string in place and will return a pointer on the given string.
Definition: chain.c:448
char * config_GetSysPath(vlc_sysdir_t dir, const char *filename)
Gets an installation directory.
Definition: specific.c:306
void config_AddIntf(const char *)
Definition: intf.c:33
ssize_t config_GetPszChoices(const char *, char ***values, char ***texts)
Determines a list of suggested values for a string configuration item.
char * config_GetPsz(const char *name)
Gets a string configuration item's value.
Definition: core.c:107
void config_ChainDestroy(config_chain_t *)
This function will release a linked list of config_chain_t (Including the head)
Definition: chain.c:253
vlc_user_dir
Definition: vlc_configuration.h:293
void config_PutFloat(const char *name, float val)
Sets a floating point configuration item's value.
Definition: core.c:175
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.
Definition: chain.c:225
char * config_GetUserDir(vlc_userdir_t)
Definition: specific.c:273
ssize_t config_GetIntChoices(const char *, int64_t **values, char ***texts)
Enumerates integer configuration choices.
enum vlc_system_dir vlc_sysdir_t
System directory identifiers.
#define config_ChainParse(a, b, c, d)
Definition: vlc_configuration.h:334
void config_ResetAll(void)
Resets the configuration.
Definition: core.c:499
#define config_SaveConfigFile(a)
Definition: vlc_configuration.h:233
void config_PutPsz(const char *name, const char *val)
Sets a string configuration item's value.
Definition: core.c:146
@ VLC_LIBEXEC_DIR
Global executable read-only directory (e.g.
Definition: vlc_configuration.h:272
@ VLC_SYSDATA_DIR
Global architecture-independent read-only data directory (e.g.
Definition: vlc_configuration.h:267
@ VLC_LOCALE_DIR
Base directory for package read-only locale data.
Definition: vlc_configuration.h:275
@ VLC_PKG_INCLUDE_DIR_RESERVED
Definition: vlc_configuration.h:266
@ VLC_PKG_LIBEXEC_DIR
Package-specific executable read-only directory (e.g.
Definition: vlc_configuration.h:264
@ VLC_PKG_LIB_DIR
Package-specific architecture-dependent read-only data directory (e.g.
Definition: vlc_configuration.h:262
@ VLC_PKG_DATA_DIR
Package-specific architecture-independent read-only data directory (e.g.
Definition: vlc_configuration.h:260
@ VLC_LIB_DIR
Global architecture-dependent read-only directory (e.g.
Definition: vlc_configuration.h:270
@ VLC_INCLUDE_DIR_RESERVED
Definition: vlc_configuration.h:274
@ VLC_TEMPLATES_DIR
Definition: vlc_configuration.h:301
@ VLC_PICTURES_DIR
Definition: vlc_configuration.h:305
@ VLC_USERDATA_DIR
Definition: vlc_configuration.h:296
@ VLC_HOME_DIR
Definition: vlc_configuration.h:294
@ VLC_CACHE_DIR
Definition: vlc_configuration.h:297
@ VLC_DESKTOP_DIR
Definition: vlc_configuration.h:299
@ VLC_DOWNLOAD_DIR
Definition: vlc_configuration.h:300
@ VLC_VIDEOS_DIR
Definition: vlc_configuration.h:306
@ VLC_PUBLICSHARE_DIR
Definition: vlc_configuration.h:302
@ VLC_DOCUMENTS_DIR
Definition: vlc_configuration.h:303
@ VLC_MUSIC_DIR
Definition: vlc_configuration.h:304
@ VLC_CONFIG_DIR
Definition: vlc_configuration.h:295
const char name[16]
Definition: httpd.c:1281
Definition: vlc_configuration.h:319
char * psz_value
Option value.
Definition: vlc_configuration.h:323
char * psz_name
Option name.
Definition: vlc_configuration.h:322
config_chain_t * p_next
Pointer on the next config_chain_t element.
Definition: vlc_configuration.h:320
Definition: vlc_objects.h:91
Configuration item.
Definition: vlc_configuration.h:70
const char ** list_text
Human-readable names for list values.
Definition: vlc_configuration.h:90
module_value_t value
Current value.
Definition: vlc_configuration.h:78
union module_config_t::@203 list
Possible choices.
uint16_t list_count
Choices count.
Definition: vlc_configuration.h:84
const char * psz_type
Configuration subtype.
Definition: vlc_configuration.h:73
module_value_t min
Minimum value (for scalars only)
Definition: vlc_configuration.h:80
const char ** psz
Table of possible string choices.
Definition: vlc_configuration.h:87
const char * psz_text
Short comment on the configuration option.
Definition: vlc_configuration.h:75
const char * psz_longtext
Long comment on the configuration option.
Definition: vlc_configuration.h:76
module_value_t max
Maximum value (for scalars only)
Definition: vlc_configuration.h:81
module_value_t orig
Default value.
Definition: vlc_configuration.h:79
const int * i
Table of possible integer choices.
Definition: vlc_configuration.h:88
uint8_t i_type
Configuration type.
Definition: vlc_configuration.h:71
const char * psz_name
Option name.
Definition: vlc_configuration.h:74
VLC object common members.
Definition: vlc_objects.h:45
Definition: vlc_configuration.h:54
int64_t i
Definition: vlc_configuration.h:56
float f
Definition: vlc_configuration.h:57
char * psz
Definition: vlc_configuration.h:55
This file is a collection of common definitions and types.