24#ifndef LIBVLC_LIBVLC_H
25# define LIBVLC_LIBVLC_H 1
42#if defined(_WIN32) || defined(__OS2__)
53void vlc_trace (
const char *fn,
const char *file,
unsigned line);
54#define vlc_backtrace() vlc_trace(__func__, __FILE__, __LINE__)
96 const char *type_name);
120#define vlc_custom_create(o, s, n) \
121 vlc_custom_create(VLC_OBJECT(o), s, n)
163 bool (*match)(
void *,
void *));
201 const char *
const *optv,
unsigned flags);
#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:65
static libvlc_priv_t * libvlc_priv(libvlc_int_t *libvlc)
Definition libvlc.h:195
void intf_DestroyAll(libvlc_int_t *)
Stops and destroys all interfaces, then the playlist.
Definition interface.c:227
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:908
struct vlc_exit vlc_exit_t
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:69
void system_Init(void)
Initializes MME timer, Winsock.
Definition specific.c:168
vlc_playlist_t * libvlc_GetMainPlaylist(libvlc_int_t *libvlc)
Definition libvlc.c:488
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:98
void vlc_ExitInit(vlc_exit_t *)
Definition exit.c:30
#define vlc_custom_create(o, s, n)
Definition libvlc.h:120
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:173
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:138
void vlc_threads_setup(libvlc_int_t *)
Definition thread.c:95
void * vlc_objres_new(size_t size, void(*release)(void *))
Allocates an object resource.
Definition objres.c:49
void vlc_objres_clear(vlc_object_t *obj)
Releases all resources of an object.
Definition objres.c:85
Describe all interface-specific data of the interface thread.
Definition vlc_interface.h:51
Definition vlc_objects.h:103
vlc_keystore * p_memory_keystore
memory keystore
Definition libvlc.h:183
struct vlc_tracer * tracer
Tracer callbacks.
Definition libvlc.h:189
vlc_playlist_t * main_playlist
Definition libvlc.h:185
libvlc_int_t public_data
Definition libvlc.h:177
intf_thread_t * interfaces
Linked-list of interfaces.
Definition libvlc.h:184
vlc_actions_t * actions
Hotkeys handler.
Definition libvlc.h:187
vlc_mutex_t lock
protect playlist and interfaces
Definition libvlc.h:180
struct vlc_medialibrary_t * p_media_library
Media library instance.
Definition libvlc.h:188
vlc_media_source_provider_t * media_source_provider
Definition libvlc.h:186
vlc_exit_t exit
Definition libvlc.h:192
vlm_t * p_vlm
the VLM singleton (or NULL)
Definition libvlc.h:181
vlc_dialog_provider * p_dialog_provider
dialog provider
Definition libvlc.h:182
The structure describing a variable.
Definition variables.c:69
void * opaque
Definition libvlc.h:72
vlc_mutex_t lock
Definition libvlc.h:70
void(* handler)(void *)
Definition libvlc.h:71
Definition vlc_keystore.h:302
Mutex.
Definition vlc_threads.h:143
VLC object common members.
Definition vlc_objects.h:53
Definition vlm_internal.h:76
#define container_of(ptr, type, member)
Definition vlc_common.h:1067