VLC  3.0.15
Data Structures | Macros | Functions
vlc_objects.h File Reference
Include dependency graph for vlc_objects.h:

Go to the source code of this file.

Data Structures

struct  vlc_object_t
 The main vlc_object_t structure. More...
 

Macros

#define OBJECT_FLAGS_QUIET   0x0002
 
#define OBJECT_FLAGS_NOINTERACT   0x0004
 
#define OBJECT_FLAGS_INSECURE   0x1000 /* VLC 3.0 only, will be removed */
 
#define vlc_object_get_name(o)   vlc_object_get_name(VLC_OBJECT(o))
 
#define vlc_object_create(a, b)   vlc_object_create( VLC_OBJECT(a), b )
 
#define vlc_object_find_name(a, b)   vlc_object_find_name( VLC_OBJECT(a),b)
 
#define vlc_object_hold(a)   vlc_object_hold( VLC_OBJECT(a) )
 
#define vlc_object_release(a)   vlc_object_release( VLC_OBJECT(a) )
 
#define vlc_list_children(a)   vlc_list_children( VLC_OBJECT(a) )
 

Functions

void * vlc_object_create (vlc_object_t *, size_t)
 Allocates and initializes a vlc object. More...
 
vlc_object_tvlc_object_find_name (vlc_object_t *, const char *)
 Finds a named object and increment its reference count. More...
 
void * vlc_object_hold (vlc_object_t *)
 Increment an object reference counter. More...
 
void vlc_object_release (vlc_object_t *)
 Drops a reference to an object (decrements the reference count). More...
 
vlc_list_tvlc_list_children (vlc_object_t *)
 Gets the list of children of an object, and increment their reference count. More...
 
void vlc_list_release (vlc_list_t *)
 
char * vlc_object_get_name (const vlc_object_t *)
 
void * vlc_obj_malloc (vlc_object_t *, size_t)
 
void * vlc_obj_calloc (vlc_object_t *, size_t, size_t)
 
void vlc_obj_free (vlc_object_t *, void *)
 

Detailed Description

Common VLC object defintions