24#ifndef LIBVLC_LIBVLC_H
25# define LIBVLC_LIBVLC_H 1
38#if defined(_WIN32) || defined(__OS2__)
49void vlc_trace (
const char *fn,
const char *file,
unsigned line);
50#define vlc_backtrace() vlc_trace(__func__, __FILE__, __LINE__)
99 const char *type_name);
123#define vlc_custom_create(o, s, n) \
124 vlc_custom_create(VLC_OBJECT(o), s, n)
166 bool (*match)(
void *,
void *));
206 const char *
const *optv,
unsigned flags);
213 int timeout,
void *
id);
#define VLC_USED
Definition: fourcc_gen.c:32
void system_End(void)
Cleans up after system_Init() and system_Configure().
Definition: specific.c:272
void vlc_objres_push(vlc_object_t *obj, void *data)
Pushes an object resource on the object resources stack.
Definition: objres.c:64
static libvlc_priv_t * libvlc_priv(libvlc_int_t *libvlc)
Definition: libvlc.h:200
struct libvlc_priv_t libvlc_priv_t
void intf_DestroyAll(libvlc_int_t *)
Stops and destroys all interfaces, then the playlist.
Definition: interface.c:292
void vlc_object_deinit(vlc_object_t *obj)
Deinitializes a VLC object.
Definition: objects.c:127
void vlc_LogInit(libvlc_int_t *)
Initializes the messages logging subsystem and drain the early messages to the configured log.
Definition: messages.c:425
void var_OptionParse(vlc_object_t *, const char *, bool trusted)
Parse a stringified option This function parse a string option and create the associated object varia...
Definition: variables.c:909
struct vlc_exit vlc_exit_t
void vlc_tracer_Destroy(libvlc_int_t *)
Definition: tracer.c:102
int vlc_object_init(vlc_object_t *obj, vlc_object_t *parent, const char *type_name)
Initializes a VLC object.
void vlc_trace(const char *fn, const char *file, unsigned line)
Print a backtrace to the standard error for debugging purpose.
Definition: thread.c:70
void system_Init(void)
Initializes MME timer, Winsock.
Definition: specific.c:167
int vlc_LogPreinit(libvlc_int_t *)
Performs preinitialization of the messages logging subsystem.
Definition: messages.c:443
void vlc_objres_remove(vlc_object_t *obj, void *data, bool(*match)(void *, void *))
Releases one object resource explicitly.
Definition: objres.c:97
void vlc_tracer_Init(libvlc_int_t *)
Initializes the messages tracing system.
Definition: tracer.c:95
void vlc_ExitInit(vlc_exit_t *)
Definition: exit.c:30
#define vlc_custom_create(o, s, n)
Definition: libvlc.h:123
const char psz_vlc_changeset[]
void vlc_CPU_dump(vlc_object_t *)
Definition: cpu.c:160
void system_Configure(libvlc_int_t *, int, const char *const [])
Definition: specific.c:172
int intf_InsertItem(libvlc_int_t *, const char *mrl, unsigned optc, const char *const *optv, unsigned flags)
Inserts an item in the playlist.
Definition: interface.c:203
void vlc_threads_setup(libvlc_int_t *)
Definition: thread.c:86
void * vlc_objres_new(size_t size, void(*release)(void *))
Allocates an object resource.
Definition: objres.c:48
void vlc_objres_clear(vlc_object_t *obj)
Releases all resources of an object.
Definition: objres.c:84
int vlc_MetadataRequest(libvlc_int_t *libvlc, input_item_t *item, input_item_meta_request_option_t i_options, const struct vlc_metadata_cbs *cbs, void *cbs_userdata, int timeout, void *id)
Definition: libvlc.c:453
Describe all interface-specific data of the interface thread.
Definition: vlc_interface.h:51
Definition: vlc_objects.h:91
vlc_keystore * p_memory_keystore
memory keystore
Definition: libvlc.h:186
struct vlc_thumbnailer_t * p_thumbnailer
Lazily instantiated media thumbnailer.
Definition: libvlc.h:193
struct vlc_preparser_t * parser
Input item meta data handler.
Definition: libvlc.h:189
struct vlc_tracer * tracer
Tracer callbacks.
Definition: libvlc.h:194
vlc_playlist_t * main_playlist
Definition: libvlc.h:188
libvlc_int_t public_data
Definition: libvlc.h:180
intf_thread_t * interfaces
Linked-list of interfaces.
Definition: libvlc.h:187
vlc_actions_t * actions
Hotkeys handler.
Definition: libvlc.h:191
vlc_mutex_t lock
protect playlist and interfaces
Definition: libvlc.h:183
struct vlc_medialibrary_t * p_media_library
Media library instance.
Definition: libvlc.h:192
vlc_media_source_provider_t * media_source_provider
Definition: libvlc.h:190
vlc_exit_t exit
Definition: libvlc.h:197
vlm_t * p_vlm
the VLM singleton (or NULL)
Definition: libvlc.h:184
vlc_dialog_provider * p_dialog_provider
dialog provider
Definition: libvlc.h:185
The structure describing a variable.
Definition: variables.c:69
Definition: actions.c:417
void * opaque
Definition: libvlc.h:75
vlc_mutex_t lock
Definition: libvlc.h:73
void(* handler)(void *)
Definition: libvlc.h:74
Definition: vlc_keystore.h:297
Definition: messages.c:85
Mutex.
Definition: vlc_threads.h:195
VLC object common members.
Definition: vlc_objects.h:45
Definition: playlist.h:49
Definition: preparser.c:35
Definition: thumbnailer.c:32
Definition: vlm_internal.h:78
#define container_of(ptr, type, member)
Definition: vlc_common.h:1153