37#if (defined (_WIN32) || defined (__OS2__)) && 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
217 const char *
name,
const char *http );
231 const char *version,
const char *icon );
310 const char **module,
const char **
file,
unsigned *
line);
338 const char **
name,
const char **header, uintptr_t *
id);
353 const char *fmt, va_list args);
static libvlc_time_t libvlc_delay(libvlc_time_t pts)
Return the delay (in microseconds) until a certain timestamp.
Definition libvlc.h:475
libvlc_time_t libvlc_clock(void)
Return the current time as defined by LibVLC.
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
Represents a time value in microseconds.
Definition libvlc.h:79
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.
struct vlc_log_t libvlc_log_t
Definition libvlc.h:287
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:352
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:280
@ LIBVLC_ERROR
Error message.
Definition libvlc.h:284
@ LIBVLC_WARNING
Warning (potential error) message.
Definition libvlc.h:283
@ LIBVLC_NOTICE
Important informational message.
Definition libvlc.h:282
@ LIBVLC_DEBUG
Debug message.
Definition libvlc.h:281
#define LIBVLC_API
Definition libvlc.h:42
const char name[16]
Definition httpd.c:1298
Description of a module.
Definition libvlc.h:406
char * psz_help_html
Definition libvlc.h:411
struct libvlc_module_description_t * p_next
Definition libvlc.h:412
char * psz_name
Definition libvlc.h:407
char * psz_shortname
Definition libvlc.h:408
char * psz_help
Definition libvlc.h:410
char * psz_longname
Definition libvlc.h:409
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