21#ifndef LIBVLC_CONFIGURATION_H
22# define LIBVLC_CONFIGURATION_H 1
83#define CONFIG_FILE "vlcrc"
struct vlc_param * vlc_param_Find(const char *name)
Looks up a configuration parameter by name.
Definition: core.c:454
char * config_GetLibDir(void)
Gets the arch-specific installation directory.
Definition: dirs.m:93
void config_Unlock(void)
Definition: core.c:51
int config_LoadCmdLine(libvlc_int_t *, int, const char *[], int *)
Parse command line for configuration options.
Definition: cmdline.c:165
void config_Free(struct vlc_param *, size_t)
Destroys an array of configuration items.
Definition: core.c:478
void config_Lock(void)
Definition: core.c:46
void config_UnsortConfig(void)
Definition: core.c:443
int config_AutoSaveConfigFile(libvlc_int_t *)
Definition: core.c:532
int config_SortConfig(void)
Index the configuration items by name for faster lookups.
Definition: core.c:409
int config_LoadConfigFile(libvlc_int_t *)
Definition: file.c:164
bool config_PrintHelp(libvlc_int_t *)
Checks for help command line options such as –help or –version.
Definition: help.c:101
int vlc_param_SetString(struct vlc_param *param, const char *value)
Definition: core.c:125
void config_CmdLineEarlyScan(libvlc_int_t *, int, const char *[])
Perform early scan of arguments for a small subset of simple options.
Definition: cmdline.c:98
bool config_IsSafe(const char *)
Definition: core.c:78
#define VLC_USED
Definition: fourcc_gen.c:32
#define VLC_MALLOC
Definition: vlc_common.h:164
const char name[16]
Definition: httpd.c:1281
Definition: vlc_objects.h:91
Configuration item.
Definition: vlc_configuration.h:70
Definition: configuration.h:30
struct vlc_plugin_t * owner
Definition: configuration.h:37
unsigned internal
Hidden from preferences and help.
Definition: configuration.h:39
_Atomic int64_t i
Current value (if integer or boolean)
Definition: configuration.h:32
char *_Atomic str
Current value (if character string)
Definition: configuration.h:34
unsigned obsolete
Ignored for backward compatibility.
Definition: configuration.h:42
union vlc_param::@10 value
unsigned char shortname
Optional short option name.
Definition: configuration.h:38
struct module_config_t item
Definition: configuration.h:43
_Atomic float f
Current value (if floating point)
Definition: configuration.h:33
unsigned unsaved
Not stored in persistent configuration.
Definition: configuration.h:40
unsigned safe
Safe for untrusted provisioning (playlists)
Definition: configuration.h:41
VLC plugin.
Definition: modules.h:33
This file describes the programming interface for the configuration module.