39 #define VLC_LIBVLC_H 1
41 #if defined (_WIN32) && defined (DLL_EXPORT)
42 # define LIBVLC_API __declspec(dllexport)
43 #elif defined (__GNUC__) && (__GNUC__ >= 4)
44 # define LIBVLC_API __attribute__((visibility("default")))
51 # define LIBVLC_DEPRECATED
52 #elif defined(__GNUC__) && \
53 (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
54 # define LIBVLC_DEPRECATED __attribute__((deprecated))
56 # define LIBVLC_DEPRECATED
144 libvlc_new(
int argc ,
const char *
const *argv );
191 void (*cb) (
void *),
void *opaque );
201 LIBVLC_DEPRECATED LIBVLC_API
215 const char *name,
const char *http );
229 const char *version,
const char *icon );
309 libvlc_event_type_t i_event_type,
322 libvlc_event_type_t i_event_type,
372 const char **module,
const char **file,
unsigned *line);
396 const char **name,
const char **header, uintptr_t *
id);
410 const char *fmt, va_list args);
459 LIBVLC_DEPRECATED LIBVLC_API
469 LIBVLC_DEPRECATED LIBVLC_API
479 LIBVLC_DEPRECATED LIBVLC_API
487 LIBVLC_DEPRECATED LIBVLC_API
497 LIBVLC_DEPRECATED LIBVLC_API
506 LIBVLC_DEPRECATED LIBVLC_API
516 LIBVLC_DEPRECATED LIBVLC_API
524 LIBVLC_DEPRECATED LIBVLC_API
534 LIBVLC_DEPRECATED LIBVLC_API
545 LIBVLC_DEPRECATED LIBVLC_API
623 static inline int64_t libvlc_delay(int64_t pts)
LIBVLC_DEPRECATED LIBVLC_API libvlc_log_message_t * libvlc_log_iterator_next(libvlc_log_iterator_t *p_iter, libvlc_log_message_t *p_buf)
LIBVLC_API void libvlc_clearerr(void)
LIBVLC_API void libvlc_set_exit_handler(libvlc_instance_t *p_instance, void(*cb)(void *), void *opaque)
LIBVLC_API int libvlc_add_intf(libvlc_instance_t *p_instance, const char *name)
struct libvlc_event_manager_t libvlc_event_manager_t
Definition: libvlc.h:282
Definition: libvlc_structures.h:58
LIBVLC_DEPRECATED LIBVLC_API void libvlc_log_close(libvlc_log_t *p_log)
LIBVLC_DEPRECATED LIBVLC_API unsigned libvlc_log_count(const libvlc_log_t *p_log)
void(* libvlc_log_cb)(void *data, int level, const libvlc_log_t *ctx, const char *fmt, va_list args)
Definition: libvlc.h:409
struct libvlc_log_iterator_t libvlc_log_iterator_t
Definition: libvlc_structures.h:56
LIBVLC_DEPRECATED LIBVLC_API void libvlc_log_clear(libvlc_log_t *p_log)
LIBVLC_DEPRECATED LIBVLC_API unsigned libvlc_get_log_verbosity(const libvlc_instance_t *p_instance)
LIBVLC_API void libvlc_set_user_agent(libvlc_instance_t *p_instance, const char *name, const char *http)
LIBVLC_API const char * libvlc_get_compiler(void)
LIBVLC_API const char * libvlc_vprinterr(const char *fmt, va_list ap)
LIBVLC_DEPRECATED LIBVLC_API void libvlc_set_log_verbosity(libvlc_instance_t *p_instance, unsigned level)
LIBVLC_API 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)
struct libvlc_module_description_t libvlc_module_description_t
LIBVLC_DEPRECATED LIBVLC_API libvlc_log_iterator_t * libvlc_log_get_iterator(const libvlc_log_t *p_log)
LIBVLC_API 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)
LIBVLC_API void libvlc_log_get_object(const libvlc_log_t *ctx, const char **name, const char **header, uintptr_t *id)
LIBVLC_DEPRECATED LIBVLC_API void libvlc_log_iterator_free(libvlc_log_iterator_t *p_iter)
LIBVLC_API const char * libvlc_event_type_name(libvlc_event_type_t event_type)
LIBVLC_DEPRECATED LIBVLC_API void libvlc_wait(libvlc_instance_t *p_instance)
LIBVLC_API void libvlc_set_app_id(libvlc_instance_t *p_instance, const char *id, const char *version, const char *icon)
void(* libvlc_callback_t)(const struct libvlc_event_t *, void *)
Definition: libvlc.h:295
libvlc_log_level
Definition: libvlc.h:345
LIBVLC_API void libvlc_log_set(libvlc_instance_t *, libvlc_log_cb cb, void *data)
LIBVLC_DEPRECATED LIBVLC_API libvlc_log_t * libvlc_log_open(libvlc_instance_t *p_instance)
LIBVLC_API int64_t libvlc_clock(void)
LIBVLC_API libvlc_module_description_t * libvlc_audio_filter_list_get(libvlc_instance_t *p_instance)
LIBVLC_API void libvlc_retain(libvlc_instance_t *p_instance)
LIBVLC_API void libvlc_log_get_context(const libvlc_log_t *ctx, const char **module, const char **file, unsigned *line)
struct libvlc_instance_t libvlc_instance_t
Definition: libvlc_structures.h:44
Definition: libvlc_events.h:110
LIBVLC_API libvlc_instance_t * libvlc_new(int argc, const char *const *argv)
LIBVLC_API const char * libvlc_printerr(const char *fmt,...)
LIBVLC_API void libvlc_module_description_list_release(libvlc_module_description_t *p_list)
LIBVLC_API void libvlc_log_set_file(libvlc_instance_t *, FILE *stream)
Definition: vlc_messages.h:57
LIBVLC_API void libvlc_log_unset(libvlc_instance_t *)
LIBVLC_API const char * libvlc_get_version(void)
LIBVLC_API void libvlc_free(void *ptr)
LIBVLC_API const char * libvlc_errmsg(void)
LIBVLC_DEPRECATED LIBVLC_API int libvlc_log_iterator_has_next(const libvlc_log_iterator_t *p_iter)
LIBVLC_API void libvlc_release(libvlc_instance_t *p_instance)
int libvlc_event_type_t
Definition: libvlc.h:284
LIBVLC_API libvlc_module_description_t * libvlc_video_filter_list_get(libvlc_instance_t *p_instance)
LIBVLC_API const char * libvlc_get_changeset(void)