37#if defined (_WIN32) && defined (LIBVLC_DLL_EXPORT)
38# define LIBVLC_API __declspec(dllexport)
39#elif defined (__GNUC__) && (__GNUC__ >= 4)
40# define LIBVLC_API __attribute__((visibility("default")))
45#ifdef LIBVLC_INTERNAL_
47# define LIBVLC_DEPRECATED
48#elif defined(__GNUC__) && \
49 (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
50# define LIBVLC_DEPRECATED __attribute__((deprecated))
52# define LIBVLC_DEPRECATED
216 const char *
name,
const char *http );
230 const char *version,
const char *icon );
370 const char **module,
const char **
file,
unsigned *
line);
398 const char **
name,
const char **header, uintptr_t *
id);
413 const char *fmt, va_list args);
int64_t libvlc_clock(void)
Return the current time as defined by LibVLC.
static int64_t libvlc_delay(int64_t pts)
Return the delay (in microseconds) until a certain timestamp.
Definition libvlc.h:535
void libvlc_free(void *ptr)
Frees an heap allocation returned by a LibVLC function.
struct libvlc_instance_t libvlc_instance_t
This structure is opaque.
Definition libvlc.h:76
const char * libvlc_get_version(void)
Retrieve libvlc version.
const char * libvlc_get_compiler(void)
Retrieve libvlc compiler version.
libvlc_instance_t * libvlc_new(int argc, const char *const *argv)
Create and initialize a libvlc instance.
libvlc_module_description_t * libvlc_video_filter_list_get(libvlc_instance_t *p_instance)
Returns a list of video filters that are available.
void libvlc_release(libvlc_instance_t *p_instance)
Decrement the reference count of a libvlc instance, and destroy it if it reaches zero.
void libvlc_set_user_agent(libvlc_instance_t *p_instance, const char *name, const char *http)
Sets the application name.
const char * libvlc_get_changeset(void)
Retrieve libvlc changeset.
int64_t libvlc_time_t
Definition libvlc.h:78
void libvlc_module_description_list_release(libvlc_module_description_t *p_list)
Release a list of module descriptions.
libvlc_module_description_t * libvlc_audio_filter_list_get(libvlc_instance_t *p_instance)
Returns a list of audio filters that are available.
int libvlc_abi_version(void)
Get the ABI version of the libvlc library.
void libvlc_set_app_id(libvlc_instance_t *p_instance, const char *id, const char *version, const char *icon)
Sets some meta-information about the application.
libvlc_instance_t * libvlc_retain(libvlc_instance_t *p_instance)
Increments the reference count of a libvlc instance.
const char * libvlc_errmsg(void)
A human-readable error message for the last LibVLC error in the calling thread.
void libvlc_clearerr(void)
Clears the LibVLC error status for the current thread.
const char * libvlc_printerr(const char *fmt,...)
Sets the LibVLC error status and message for the current thread.
void libvlc_event_detach(libvlc_event_manager_t *p_event_manager, libvlc_event_type_t i_event_type, libvlc_callback_t f_callback, void *p_user_data)
Unregister an event notification.
int libvlc_event_type_t
Type of a LibVLC event.
Definition libvlc.h:290
struct libvlc_event_manager_t libvlc_event_manager_t
Event manager that belongs to a libvlc object, and from whom events can be received.
Definition libvlc.h:283
int libvlc_event_attach(libvlc_event_manager_t *p_event_manager, libvlc_event_type_t i_event_type, libvlc_callback_t f_callback, void *user_data)
Register for an event notification.
void(* libvlc_callback_t)(const struct libvlc_event_t *p_event, void *p_data)
Callback function notification.
Definition libvlc.h:296
void(* libvlc_log_cb)(void *data, int level, const libvlc_log_t *ctx, const char *fmt, va_list args)
Callback prototype for LibVLC log message handler.
Definition libvlc.h:412
void libvlc_log_set(libvlc_instance_t *p_instance, libvlc_log_cb cb, void *data)
Sets the logging callback for a LibVLC instance.
void libvlc_log_unset(libvlc_instance_t *p_instance)
Unsets the logging callback.
void libvlc_log_get_context(const libvlc_log_t *ctx, const char **module, const char **file, unsigned *line)
Gets log message debug infos.
void libvlc_log_get_object(const libvlc_log_t *ctx, const char **name, const char **header, uintptr_t *id)
Gets log message info.
void libvlc_log_set_file(libvlc_instance_t *p_instance, FILE *stream)
Sets up logging to a file.
libvlc_log_level
Logging messages level.
Definition libvlc.h:340
@ LIBVLC_ERROR
Error message.
Definition libvlc.h:344
@ LIBVLC_WARNING
Warning (potential error) message.
Definition libvlc.h:343
@ LIBVLC_NOTICE
Important informational message.
Definition libvlc.h:342
@ LIBVLC_DEBUG
Debug message.
Definition libvlc.h:341
#define LIBVLC_API
Definition libvlc.h:42
const char name[16]
Definition httpd.c:1298
A LibVLC event.
Definition libvlc_events.h:261
Description of a module.
Definition libvlc.h:466
char * psz_help_html
Definition libvlc.h:471
struct libvlc_module_description_t * p_next
Definition libvlc.h:472
char * psz_name
Definition libvlc.h:467
char * psz_shortname
Definition libvlc.h:468
char * psz_help
Definition libvlc.h:470
char * psz_longname
Definition libvlc.h:469
Log message.
Definition vlc_messages.h:57
int line
Source code file line number or -1.
Definition vlc_messages.h:63
const char * file
Source code file name or NULL.
Definition vlc_messages.h:62