VLC  4.0.0-dev
variables.h File Reference
Include dependency graph for variables.h:

Go to the source code of this file.

Data Structures

struct  vlc_object_internals


#define vlc_internals(o)   ((o)->priv)
#define vlc_externals(priv)   (abort(), (void *)(priv))


typedef struct vlc_object_internals vlc_object_internals_t
 Private LibVLC data for each object. More...


void var_DestroyAll (vlc_object_t *)
char ** var_GetAllNames (vlc_object_t *)
 Return a list of all variable names. More...

Macro Definition Documentation

◆ vlc_externals

#define vlc_externals (   priv)    (abort(), (void *)(priv))

◆ vlc_internals

#define vlc_internals (   o)    ((o)->priv)

Typedef Documentation

◆ vlc_object_internals_t

Private LibVLC data for each object.

Function Documentation

◆ var_DestroyAll()

void var_DestroyAll ( vlc_object_t obj)

◆ var_GetAllNames()

char** var_GetAllNames ( vlc_object_t obj)

Return a list of all variable names.

There is no warranty that the returned variables will be still alive after the return of this function.

a NULL terminated list of char *, each elements and the return value must be freed by the caller

References ARRAY_APPEND, ARRAY_INIT, DECL_ARRAY, twalk(), twalk_ctx, TwalkGetNames(), vlc_object_internals::var_lock, vlc_object_internals::var_root, vlc_internals, vlc_mutex_lock(), and vlc_mutex_unlock().

Referenced by filter_AddProxyCallbacks(), and filter_DelProxyCallbacks().