Go to the documentation of this file.
25 #ifndef VLC_VARIABLES_H
26 #define VLC_VARIABLES_H 1
39 #define VLC_VAR_TYPE 0x00ff
40 #define VLC_VAR_CLASS 0x00f0
41 #define VLC_VAR_FLAGS 0xff00
48 #define VLC_VAR_VOID 0x0010
49 #define VLC_VAR_BOOL 0x0020
50 #define VLC_VAR_INTEGER 0x0030
51 #define VLC_VAR_STRING 0x0040
52 #define VLC_VAR_FLOAT 0x0050
53 #define VLC_VAR_ADDRESS 0x0070
54 #define VLC_VAR_COORDS 0x00A0
62 #define VLC_VAR_HASCHOICE 0x0100
64 #define VLC_VAR_ISCOMMAND 0x2000
69 #define VLC_VAR_DOINHERIT 0x8000
80 #define VLC_VAR_SETSTEP 0x0012
87 #define VLC_VAR_SETVALUE 0x0013
89 #define VLC_VAR_SETTEXT 0x0014
90 #define VLC_VAR_GETTEXT 0x0015
92 #define VLC_VAR_GETMIN 0x0016
93 #define VLC_VAR_GETMAX 0x0017
94 #define VLC_VAR_GETSTEP 0x0018
96 #define VLC_VAR_ADDCHOICE 0x0020
97 #define VLC_VAR_DELCHOICE 0x0021
98 #define VLC_VAR_CLEARCHOICES 0x0022
99 #define VLC_VAR_GETCHOICES 0x0024
101 #define VLC_VAR_CHOICESCOUNT 0x0026
102 #define VLC_VAR_SETMINMAX 0x0027
122 #define var_Create(a,b,c) var_Create( VLC_OBJECT(a), b, c )
125 #define var_Destroy(a,b) var_Destroy( VLC_OBJECT(a), b )
128 #define var_Change(a,b,c,d,e) var_Change( VLC_OBJECT(a), b, c, d, e )
131 #define var_Type(a,b) var_Type( VLC_OBJECT(a), b )
134 #define var_Set(a,b,c) var_Set( VLC_OBJECT(a), b, c )
137 #define var_Get(a,b,c) var_Get( VLC_OBJECT(a), b, c )
140 #define var_SetChecked(o,n,t,v) var_SetChecked(VLC_OBJECT(o),n,t,v)
142 #define var_GetChecked(o,n,t,v) var_GetChecked(VLC_OBJECT(o),n,t,v)
166 #define var_AddCallback(a,b,c,d) var_AddCallback( VLC_OBJECT(a), b, c, d )
167 #define var_DelCallback(a,b,c,d) var_DelCallback( VLC_OBJECT(a), b, c, d )
168 #define var_TriggerCallback(a,b) var_TriggerCallback( VLC_OBJECT(a), b )
170 #define var_AddListCallback(a,b,c,d) var_AddListCallback( VLC_OBJECT(a), b, c, d )
171 #define var_DelListCallback(a,b,c,d) var_DelListCallback( VLC_OBJECT(a), b, c, d )
207 int32_t x, int32_t y )
214 #define var_SetCoords(o,n,x,y) var_SetCoords(VLC_OBJECT(o),n,x,y)
259 #define var_SetInteger(a,b,c) var_SetInteger( VLC_OBJECT(a),b,c)
260 #define var_SetBool(a,b,c) var_SetBool( VLC_OBJECT(a),b,c)
261 #define var_SetFloat(a,b,c) var_SetFloat( VLC_OBJECT(a),b,c)
262 #define var_SetString(a,b,c) var_SetString( VLC_OBJECT(a),b,c)
263 #define var_SetAddress(o, n, p) var_SetAddress(VLC_OBJECT(o), n, p)
300 int32_t *px, int32_t *py )
312 #define var_GetCoords(o,n,x,y) var_GetCoords(VLC_OBJECT(o),n,x,y)
381 #define var_IncInteger(a,b) var_IncInteger( VLC_OBJECT(a), b )
396 #define var_DecInteger(a,b) var_DecInteger( VLC_OBJECT(a), b )
407 #define var_OrInteger(a,b,c) var_OrInteger(VLC_OBJECT(a),b,c)
418 #define var_NAndInteger(a,b,c) var_NAndInteger(VLC_OBJECT(a),b,c)
495 #define var_CreateGetInteger(a,b) var_CreateGetInteger( VLC_OBJECT(a),b)
496 #define var_CreateGetBool(a,b) var_CreateGetBool( VLC_OBJECT(a),b)
497 #define var_CreateGetFloat(a,b) var_CreateGetFloat( VLC_OBJECT(a),b)
498 #define var_CreateGetString(a,b) var_CreateGetString( VLC_OBJECT(a),b)
499 #define var_CreateGetNonEmptyString(a,b) var_CreateGetNonEmptyString( VLC_OBJECT(a),b)
500 #define var_CreateGetAddress(a,b) var_CreateGetAddress( VLC_OBJECT(a),b)
568 #define var_CreateGetIntegerCommand(a,b) var_CreateGetIntegerCommand( VLC_OBJECT(a),b)
569 #define var_CreateGetBoolCommand(a,b) var_CreateGetBoolCommand( VLC_OBJECT(a),b)
570 #define var_CreateGetFloatCommand(a,b) var_CreateGetFloatCommand( VLC_OBJECT(a),b)
571 #define var_CreateGetStringCommand(a,b) var_CreateGetStringCommand( VLC_OBJECT(a),b)
572 #define var_CreateGetNonEmptyStringCommand(a,b) var_CreateGetNonEmptyStringCommand( VLC_OBJECT(a),b)
582 #define var_CountChoices(a,b) var_CountChoices( VLC_OBJECT(a),b)
592 #define var_ToggleBool(a,b) var_ToggleBool( VLC_OBJECT(a),b )
604 #define var_InheritBool(o, n) var_InheritBool(VLC_OBJECT(o), n)
615 #define var_InheritInteger(o, n) var_InheritInteger(VLC_OBJECT(o), n)
626 #define var_InheritFloat(o, n) var_InheritFloat(VLC_OBJECT(o), n)
642 #define var_InheritString(o, n) var_InheritString(VLC_OBJECT(o), n)
653 #define var_InheritAddress(o, n) var_InheritAddress(VLC_OBJECT(o), n)
656 #define var_InheritURational(a,b,c,d) var_InheritURational(VLC_OBJECT(a), b, c, d)
658 #define var_GetInteger(a,b) var_GetInteger( VLC_OBJECT(a),b)
659 #define var_GetBool(a,b) var_GetBool( VLC_OBJECT(a),b)
660 #define var_GetFloat(a,b) var_GetFloat( VLC_OBJECT(a),b)
661 #define var_GetString(a,b) var_GetString( VLC_OBJECT(a),b)
662 #define var_GetNonEmptyString(a,b) var_GetNonEmptyString( VLC_OBJECT(a),b)
663 #define var_GetAddress(a,b) var_GetAddress( VLC_OBJECT(a),b)
666 #define var_LocationParse(o, m, p) var_LocationParse(VLC_OBJECT(o), m, p)
size_t count
Definition: core.c:461
#define VLC_API
Definition: fourcc_gen.c:30
#define var_GetChecked(o, n, t, v)
Definition: vlc_variables.h:141
#define var_OrInteger(a, b, c)
Definition: vlc_variables.h:404
int var_Inherit(vlc_object_t *, const char *, int, vlc_value_t *)
Finds the value of a variable.
Definition: variables.c:1171
#define var_CreateGetInteger(a, b)
Definition: vlc_variables.h:492
#define var_SetAddress(o, n, p)
Definition: vlc_variables.h:260
#define var_SetBool(a, b, c)
Definition: vlc_variables.h:257
#define var_CreateGetBool(a, b)
Definition: vlc_variables.h:493
#define var_DelListCallback(a, b, c, d)
Definition: vlc_variables.h:169
int32_t x
Definition: vlc_common.h:337
#define var_CreateGetNonEmptyString(a, b)
Definition: vlc_variables.h:496
#define VLC_VAR_DOINHERIT
Creation flag.
Definition: vlc_variables.h:69
#define var_TriggerCallback(a, b)
Definition: vlc_variables.h:166
#define var_InheritInteger(o, n)
Definition: vlc_variables.h:612
#define var_CreateGetFloatCommand(a, b)
Definition: vlc_variables.h:567
#define var_DecInteger(a, b)
Definition: vlc_variables.h:393
#define var_CreateGetBoolCommand(a, b)
Definition: vlc_variables.h:566
int var_GetAndSet(vlc_object_t *, const char *, int, vlc_value_t *)
Perform a Get and Set on a variable.
Definition: variables.c:629
#define var_InheritBool(o, n)
Definition: vlc_variables.h:601
void * p_address
Definition: vlc_common.h:335
#define VLC_VAR_BOOL
Definition: vlc_variables.h:49
#define var_ToggleBool(a, b)
Definition: vlc_variables.h:589
Add parameter to an integer value.
Definition: vlc_variables.h:112
Binary NAND over an integer bits field.
Definition: vlc_variables.h:114
#define var_SetCoords(o, n, x, y)
Definition: vlc_variables.h:211
#define VLC_VAR_ADDRESS
Definition: vlc_variables.h:53
Invert a boolean value (param ignored)
Definition: vlc_variables.h:111
#define var_Get(a, b, c)
Definition: vlc_variables.h:136
#define VLC_VAR_INTEGER
Definition: vlc_variables.h:50
#define VLC_VAR_STRING
Definition: vlc_variables.h:51
#define VLC_VAR_FLOAT
Definition: vlc_variables.h:52
#define var_LocationParse(o, m, p)
Definition: vlc_variables.h:663
#define var_InheritString(o, n)
Definition: vlc_variables.h:639
int64_t i_int
Definition: vlc_common.h:331
#define var_Create(a, b, c)
Definition: vlc_variables.h:121
#define var_DelCallback(a, b, c, d)
Definition: vlc_variables.h:165
#define var_CreateGetStringCommand(a, b)
Definition: vlc_variables.h:568
int(* vlc_list_callback_t)(vlc_object_t *, char const *, int, vlc_value_t *, void *)
Definition: vlc_common.h:373
#define var_GetFloat(a, b)
Definition: vlc_variables.h:657
int32_t y
Definition: vlc_common.h:337
bool b_bool
Definition: vlc_common.h:332
#define var_CreateGetString(a, b)
Definition: vlc_variables.h:495
float f_float
Definition: vlc_common.h:333
#define var_Set(a, b, c)
Definition: vlc_variables.h:133
Binary OR over an integer bits field.
Definition: vlc_variables.h:113
#define var_Destroy(a, b)
Definition: vlc_variables.h:124
#define var_SetFloat(a, b, c)
Definition: vlc_variables.h:258
#define VLC_VAR_CHOICESCOUNT
Definition: vlc_variables.h:101
#define VLC_VAR_ISCOMMAND
Definition: vlc_variables.h:64
#define var_Type(a, b)
Definition: vlc_variables.h:130
const char * psz_name
Definition: vlc_codecs.h:315
char * psz_string
Definition: vlc_common.h:334
#define var_GetInteger(a, b)
Definition: vlc_variables.h:655
#define var_SetInteger(a, b, c)
Definition: vlc_variables.h:256
#define var_CountChoices(a, b)
Definition: vlc_variables.h:579
#define var_NAndInteger(a, b, c)
Definition: vlc_variables.h:415
#define likely(p)
Definition: vlc_common.h:113
The main vlc_object_t structure.
Definition: vlc_objects.h:39
#define var_InheritAddress(o, n)
Definition: vlc_variables.h:650
#define var_GetNonEmptyString(a, b)
Definition: vlc_variables.h:659
#define VLC_USED
Definition: fourcc_gen.c:31
#define var_InheritFloat(o, n)
Definition: vlc_variables.h:623
#define VLC_VAR_COORDS
Definition: vlc_variables.h:54
#define var_GetAddress(a, b)
Definition: vlc_variables.h:660
const char name[16]
Definition: httpd.c:1251
#define VLC_MALLOC
Definition: vlc_common.h:102
#define var_CreateGetFloat(a, b)
Definition: vlc_variables.h:494
#define var_CreateGetAddress(a, b)
Definition: vlc_variables.h:497
#define var_SetString(a, b, c)
Definition: vlc_variables.h:259
#define var_GetString(a, b)
Definition: vlc_variables.h:658
#define var_AddCallback(a, b, c, d)
Definition: vlc_variables.h:164
#define var_SetChecked(o, n, t, v)
Definition: vlc_variables.h:139
#define var_InheritURational(a, b, c, d)
Definition: vlc_variables.h:653
#define var_GetCoords(o, n, x, y)
Definition: vlc_variables.h:309
VLC value structure.
Definition: vlc_common.h:329
#define var_IncInteger(a, b)
Definition: vlc_variables.h:378
struct vlc_value_t::@146 coords
void var_FreeList(vlc_value_t *, vlc_value_t *)
Free a list and the associated strings.
Definition: variables.c:1285
#define var_CreateGetIntegerCommand(a, b)
Definition: vlc_variables.h:565
#define var_AddListCallback(a, b, c, d)
Definition: vlc_variables.h:168
#define var_CreateGetNonEmptyStringCommand(a, b)
Definition: vlc_variables.h:569
#define var_GetBool(a, b)
Definition: vlc_variables.h:656
int(* vlc_callback_t)(vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
Definition: vlc_common.h:365
#define var_Change(a, b, c, d, e)
Definition: vlc_variables.h:127