User:Thannoy/stripped Libvlc API
Jump to navigation
Jump to search
Below is a very summarized extraction(March 2008) of the Libvlc API. Related links are the official wiki page "ExternalAPI" and the up-to-date autogenerated doxygen documentation.
struct libvlc_exception_t struct libvlc_playlist_item_t enum libvlc_meta_t enum libvlc_event_type_t typedef libvlc_event_manager_t libvlc_event_manager_t typedef void(*) libvlc_callback_t (const libvlc_event_t *, void *) typedef libvlc_tag_query_t libvlc_tag_query_t typedef char * libvlc_tag_t typedef vlc_int64_t libvlc_time_t typedef libvlc_media_instance_t libvlc_media_instance_t typedef libvlc_media_list_t libvlc_media_list_t typedef libvlc_media_list_view_t libvlc_media_list_view_t typedef libvlc_dynamic_media_list_t libvlc_dynamic_media_list_t typedef libvlc_media_list_player_t libvlc_media_list_player_t typedef libvlc_media_library_t libvlc_media_library_t typedef int libvlc_drawable_t typedef libvlc_media_discoverer_t libvlc_media_discoverer_t typedef libvlc_log_t libvlc_log_t typedef libvlc_log_iterator_t libvlc_log_iterator_t void libvlc_exception_init (libvlc_exception_t *p_exception) int libvlc_exception_raised (const libvlc_exception_t *p_exception) void libvlc_exception_raise (libvlc_exception_t *p_exception, const char *psz_format,...) void libvlc_exception_clear (libvlc_exception_t *) const char * libvlc_exception_get_message (const libvlc_exception_t *p_exception) libvlc_instance_t * libvlc_new (int, const char *const *, libvlc_exception_t *) int libvlc_get_vlc_id (libvlc_instance_t *p_instance) void libvlc_release (libvlc_instance_t *) void libvlc_retain (libvlc_instance_t *) libvlc_media_descriptor_t * libvlc_media_descriptor_new (libvlc_instance_t *p_instance, const char *psz_mrl, libvlc_exception_t *p_e) libvlc_media_descriptor_t * libvlc_media_descriptor_new_as_node (libvlc_instance_t *p_instance, const char *psz_name, libvlc_exception_t *p_e) void libvlc_media_descriptor_add_option (libvlc_media_descriptor_t *p_md, const char *ppsz_options, libvlc_exception_t *p_e) void libvlc_media_descriptor_retain (libvlc_media_descriptor_t *p_meta_desc) void libvlc_media_descriptor_release (libvlc_media_descriptor_t *p_meta_desc) char * libvlc_media_descriptor_get_mrl (libvlc_media_descriptor_t *p_md, libvlc_exception_t *p_e) libvlc_media_descriptor_t * libvlc_media_descriptor_duplicate (libvlc_media_descriptor_t *) char * libvlc_media_descriptor_get_meta (libvlc_media_descriptor_t *p_meta_desc, libvlc_meta_t e_meta, libvlc_exception_t *p_e) libvlc_state_t libvlc_media_descriptor_get_state (libvlc_media_descriptor_t *p_meta_desc, libvlc_exception_t *p_e) void libvlc_media_descriptor_add_tag (libvlc_media_descriptor_t *p_md, const char *key, const libvlc_tag_t tag, libvlc_exception_t *p_e) void libvlc_media_descriptor_remove_tag (libvlc_media_descriptor_t *p_md, const char *key, const libvlc_tag_t tag, libvlc_exception_t *p_e) int libvlc_media_descriptor_tags_count_for_key (libvlc_media_descriptor_t *p_md, const char *key, libvlc_exception_t *p_e) libvlc_tag_t libvlc_media_descriptor_tag_at_index_for_key (libvlc_media_descriptor_t *p_md, int i, const char *key, libvlc_exception_t *p_e) libvlc_media_list_t * libvlc_media_descriptor_subitems (libvlc_media_descriptor_t *p_md, libvlc_exception_t *p_e) libvlc_event_manager_t * libvlc_media_descriptor_event_manager (libvlc_media_descriptor_t *p_md, libvlc_exception_t *p_e) libvlc_time_t libvlc_media_descriptor_get_duration (libvlc_media_descriptor_t *p_md, libvlc_exception_t *p_e) vlc_bool_t libvlc_media_descriptor_is_preparsed (libvlc_media_descriptor_t *p_md, libvlc_exception_t *p_e) void libvlc_media_descriptor_set_user_data (libvlc_media_descriptor_t *p_md, void *p_new_user_data, libvlc_exception_t *p_e) void * libvlc_media_descriptor_get_user_data (libvlc_media_descriptor_t *p_md, libvlc_exception_t *p_e) void libvlc_playlist_loop (libvlc_instance_t *, vlc_bool_t, libvlc_exception_t *) void libvlc_playlist_play (libvlc_instance_t *, int, int, char **, libvlc_exception_t *) void libvlc_playlist_pause (libvlc_instance_t *, libvlc_exception_t *) int libvlc_playlist_isplaying (libvlc_instance_t *, libvlc_exception_t *) int libvlc_playlist_items_count (libvlc_instance_t *, libvlc_exception_t *) void libvlc_playlist_lock (libvlc_instance_t *) void libvlc_playlist_unlock (libvlc_instance_t *) void libvlc_playlist_stop (libvlc_instance_t *, libvlc_exception_t *) void libvlc_playlist_next (libvlc_instance_t *, libvlc_exception_t *) void libvlc_playlist_prev (libvlc_instance_t *, libvlc_exception_t *) void libvlc_playlist_clear (libvlc_instance_t *, libvlc_exception_t *) int libvlc_playlist_add (libvlc_instance_t *, const char *, const char *, libvlc_exception_t *) int libvlc_playlist_add_extended (libvlc_instance_t *, const char *, const char *, int, const char **, libvlc_exception_t *) int libvlc_playlist_delete_item (libvlc_instance_t *, int, libvlc_exception_t *) libvlc_media_instance_t * libvlc_playlist_get_media_instance (libvlc_instance_t *, libvlc_exception_t *) vlc_bool_t libvlc_media_instance_is_seekable (libvlc_media_instance_t *p_mi, libvlc_exception_t *p_e) vlc_bool_t libvlc_media_instance_can_pause (libvlc_media_instance_t *p_mi, libvlc_exception_t *p_e) libvlc_media_instance_t * libvlc_media_instance_new (libvlc_instance_t *, libvlc_exception_t *) libvlc_media_instance_t * libvlc_media_instance_new_from_media_descriptor (libvlc_media_descriptor_t *, libvlc_exception_t *) void libvlc_media_instance_release (libvlc_media_instance_t *) void libvlc_media_instance_retain (libvlc_media_instance_t *) void libvlc_media_instance_set_media_descriptor (libvlc_media_instance_t *, libvlc_media_descriptor_t *, libvlc_exception_t *) libvlc_media_descriptor_t * libvlc_media_instance_get_media_descriptor (libvlc_media_instance_t *, libvlc_exception_t *) libvlc_event_manager_t * libvlc_media_instance_event_manager (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_media_instance_play (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_media_instance_pause (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_media_instance_stop (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_media_instance_set_drawable (libvlc_media_instance_t *, libvlc_drawable_t, libvlc_exception_t *) libvlc_drawable_t libvlc_media_instance_get_drawable (libvlc_media_instance_t *, libvlc_exception_t *) libvlc_time_t libvlc_media_instance_get_length (libvlc_media_instance_t *, libvlc_exception_t *) libvlc_time_t libvlc_media_instance_get_time (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_media_instance_set_time (libvlc_media_instance_t *, libvlc_time_t, libvlc_exception_t *) float libvlc_media_instance_get_position (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_media_instance_set_position (libvlc_media_instance_t *, float, libvlc_exception_t *) void libvlc_media_instance_set_chapter (libvlc_media_instance_t *, int, libvlc_exception_t *) int libvlc_media_instance_get_chapter (libvlc_media_instance_t *, libvlc_exception_t *) int libvlc_media_instance_get_chapter_count (libvlc_media_instance_t *, libvlc_exception_t *) vlc_bool_t libvlc_media_instance_will_play (libvlc_media_instance_t *, libvlc_exception_t *) float libvlc_media_instance_get_rate (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_media_instance_set_rate (libvlc_media_instance_t *, float, libvlc_exception_t *) libvlc_state_t libvlc_media_instance_get_state (libvlc_media_instance_t *, libvlc_exception_t *) vlc_bool_t libvlc_media_instance_has_vout (libvlc_media_instance_t *, libvlc_exception_t *) float libvlc_media_instance_get_fps (libvlc_media_instance_t *, libvlc_exception_t *) libvlc_tag_query_t * libvlc_tag_query_new (libvlc_instance_t *, libvlc_exception_t *) void libvlc_tag_query_release (libvlc_tag_query_t *) void libvlc_tag_query_retain (libvlc_tag_query_t *) void libvlc_tag_query_set_match_tag_and_key (libvlc_tag_query_t *p_q, libvlc_tag_t tag, char *psz_tag_key, libvlc_exception_t *) vlc_bool_t libvlc_tag_query_match (libvlc_tag_query_t *, libvlc_media_descriptor_t *, libvlc_exception_t *) libvlc_media_list_t * libvlc_media_list_new (libvlc_instance_t *, libvlc_exception_t *) void libvlc_media_list_release (libvlc_media_list_t *) void libvlc_media_list_retain (libvlc_media_list_t *) void libvlc_media_list_add_file_content (libvlc_media_list_t *p_mlist, const char *psz_uri, libvlc_exception_t *p_e) void libvlc_media_list_set_media_descriptor (libvlc_media_list_t *, libvlc_media_descriptor_t *, libvlc_exception_t *) libvlc_media_descriptor_t * libvlc_media_list_media_descriptor (libvlc_media_list_t *, libvlc_exception_t *) void libvlc_media_list_add_media_descriptor (libvlc_media_list_t *, libvlc_media_descriptor_t *, libvlc_exception_t *) void libvlc_media_list_insert_media_descriptor (libvlc_media_list_t *, libvlc_media_descriptor_t *, int, libvlc_exception_t *) void libvlc_media_list_remove_index (libvlc_media_list_t *, int, libvlc_exception_t *) int libvlc_media_list_count (libvlc_media_list_t *p_mlist, libvlc_exception_t *p_e) libvlc_media_descriptor_t * libvlc_media_list_item_at_index (libvlc_media_list_t *, int, libvlc_exception_t *) int libvlc_media_list_index_of_item (libvlc_media_list_t *, libvlc_media_descriptor_t *, libvlc_exception_t *) vlc_bool_t libvlc_media_list_is_readonly (libvlc_media_list_t *p_mlist) void libvlc_media_list_lock (libvlc_media_list_t *) void libvlc_media_list_unlock (libvlc_media_list_t *) libvlc_media_list_view_t * libvlc_media_list_flat_view (libvlc_media_list_t *, libvlc_exception_t *) libvlc_media_list_view_t * libvlc_media_list_hierarchical_view (libvlc_media_list_t *, libvlc_exception_t *) libvlc_media_list_view_t * libvlc_media_list_hierarchical_node_view (libvlc_media_list_t *, libvlc_exception_t *) libvlc_event_manager_t * libvlc_media_list_event_manager (libvlc_media_list_t *, libvlc_exception_t *) void libvlc_media_list_view_retain (libvlc_media_list_view_t *p_mlv) void libvlc_media_list_view_release (libvlc_media_list_view_t *p_mlv) libvlc_event_manager_t * libvlc_media_list_view_event_manager (libvlc_media_list_view_t *p_mlv) int libvlc_media_list_view_count (libvlc_media_list_view_t *p_mlv, libvlc_exception_t *p_e) libvlc_media_descriptor_t * libvlc_media_list_view_item_at_index (libvlc_media_list_view_t *p_mlv, int index, libvlc_exception_t *p_e) libvlc_media_list_view_t * libvlc_media_list_view_children_at_index (libvlc_media_list_view_t *p_mlv, int index, libvlc_exception_t *p_e) libvlc_media_list_view_t * libvlc_media_list_view_children_for_item (libvlc_media_list_view_t *p_mlv, libvlc_media_descriptor_t *p_md, libvlc_exception_t *p_e) int libvlc_media_list_view_index_of_item (libvlc_media_list_view_t *p_mlv, libvlc_media_descriptor_t *p_md, libvlc_exception_t *p_e) void libvlc_media_list_view_insert_at_index (libvlc_media_list_view_t *p_mlv, libvlc_media_descriptor_t *p_md, int index, libvlc_exception_t *p_e) void libvlc_media_list_view_remove_at_index (libvlc_media_list_view_t *p_mlv, int index, libvlc_exception_t *p_e) void libvlc_media_list_view_add_item (libvlc_media_list_view_t *p_mlv, libvlc_media_descriptor_t *p_md, libvlc_exception_t *p_e) libvlc_media_list_t * libvlc_media_list_view_parent_media_list (libvlc_media_list_view_t *p_mlv, libvlc_exception_t *p_e) libvlc_dynamic_media_list_t * libvlc_dynamic_media_list_new (libvlc_media_list_t *p_mlist, libvlc_tag_query_t *p_query, libvlc_tag_t tag, libvlc_exception_t *p_e) void libvlc_dynamic_media_list_release (libvlc_dynamic_media_list_t *p_dmlist) void libvlc_dynamic_media_list_retain (libvlc_dynamic_media_list_t *p_dmlist) libvlc_media_list_t * libvlc_dynamic_media_list_media_list (libvlc_dynamic_media_list_t *p_dmlist, libvlc_exception_t *p_e) libvlc_media_library_t * libvlc_media_library_new (libvlc_instance_t *p_inst, libvlc_exception_t *p_e) void libvlc_media_library_release (libvlc_media_library_t *p_mlib) void libvlc_media_library_retain (libvlc_media_library_t *p_mlib) void libvlc_media_library_load (libvlc_media_library_t *p_mlib, libvlc_exception_t *p_e) void libvlc_media_library_save (libvlc_media_library_t *p_mlib, libvlc_exception_t *p_e) libvlc_media_list_t * libvlc_media_library_media_list (libvlc_media_library_t *p_mlib, libvlc_exception_t *p_e) libvlc_media_list_player_t * libvlc_media_list_player_new (libvlc_instance_t *p_instance, libvlc_exception_t *p_e) void libvlc_media_list_player_release (libvlc_media_list_player_t *p_mlp) void libvlc_media_list_player_set_media_instance (libvlc_media_list_player_t *p_mlp, libvlc_media_instance_t *p_mi, libvlc_exception_t *p_e) void libvlc_media_list_player_set_media_list (libvlc_media_list_player_t *p_mlp, libvlc_media_list_t *p_mlist, libvlc_exception_t *p_e) void libvlc_media_list_player_play (libvlc_media_list_player_t *p_mlp, libvlc_exception_t *p_e) void libvlc_media_list_player_pause (libvlc_media_list_player_t *p_mlp, libvlc_exception_t *p_e) vlc_bool_t libvlc_media_list_player_is_playing (libvlc_media_list_player_t *p_mlp, libvlc_exception_t *p_e) libvlc_state_t libvlc_media_list_player_get_state (libvlc_media_list_player_t *p_mlp, libvlc_exception_t *p_e) void libvlc_media_list_player_play_item_at_index (libvlc_media_list_player_t *p_mlp, int i_index, libvlc_exception_t *p_e) void libvlc_media_list_player_play_item (libvlc_media_list_player_t *p_mlp, libvlc_media_descriptor_t *p_md, libvlc_exception_t *p_e) void libvlc_media_list_player_stop (libvlc_media_list_player_t *p_mlp, libvlc_exception_t *p_e) void libvlc_media_list_player_next (libvlc_media_list_player_t *p_mlp, libvlc_exception_t *p_e) void libvlc_toggle_fullscreen (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_set_fullscreen (libvlc_media_instance_t *, int, libvlc_exception_t *) int libvlc_get_fullscreen (libvlc_media_instance_t *, libvlc_exception_t *) int libvlc_video_get_height (libvlc_media_instance_t *, libvlc_exception_t *) int libvlc_video_get_width (libvlc_media_instance_t *, libvlc_exception_t *) char * libvlc_video_get_aspect_ratio (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_video_set_aspect_ratio (libvlc_media_instance_t *, char *, libvlc_exception_t *) int libvlc_video_get_spu (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_video_set_spu (libvlc_media_instance_t *, int, libvlc_exception_t *) char * libvlc_video_get_crop_geometry (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_video_set_crop_geometry (libvlc_media_instance_t *, char *, libvlc_exception_t *) void libvlc_toggle_teletext (libvlc_media_instance_t *, libvlc_exception_t *) int libvlc_video_get_teletext (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_video_set_teletext (libvlc_media_instance_t *, int, libvlc_exception_t *) void libvlc_video_take_snapshot (libvlc_media_instance_t *, char *, unsigned int, unsigned int, libvlc_exception_t *) int libvlc_video_destroy (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_video_resize (libvlc_media_instance_t *, int, int, libvlc_exception_t *) int libvlc_video_reparent (libvlc_media_instance_t *, libvlc_drawable_t, libvlc_exception_t *) void libvlc_video_redraw_rectangle (libvlc_media_instance_t *, const libvlc_rectangle_t *, libvlc_exception_t *) void libvlc_video_set_parent (libvlc_instance_t *, libvlc_drawable_t, libvlc_exception_t *) libvlc_drawable_t libvlc_video_get_parent (libvlc_instance_t *, libvlc_exception_t *) void libvlc_video_set_size (libvlc_instance_t *, int, int, libvlc_exception_t *) void libvlc_video_set_viewport (libvlc_instance_t *, const libvlc_rectangle_t *, const libvlc_rectangle_t *, libvlc_exception_t *) void libvlc_audio_toggle_mute (libvlc_instance_t *, libvlc_exception_t *) vlc_bool_t libvlc_audio_get_mute (libvlc_instance_t *, libvlc_exception_t *) void libvlc_audio_set_mute (libvlc_instance_t *, vlc_bool_t, libvlc_exception_t *) int libvlc_audio_get_volume (libvlc_instance_t *, libvlc_exception_t *) void libvlc_audio_set_volume (libvlc_instance_t *, int, libvlc_exception_t *) int libvlc_audio_get_track_count (libvlc_media_instance_t *, libvlc_exception_t *) int libvlc_audio_get_track (libvlc_media_instance_t *, libvlc_exception_t *) void libvlc_audio_set_track (libvlc_media_instance_t *, int, libvlc_exception_t *) int libvlc_audio_get_channel (libvlc_instance_t *, libvlc_exception_t *) void libvlc_audio_set_channel (libvlc_instance_t *, int, libvlc_exception_t *) libvlc_media_discoverer_t * libvlc_media_discoverer_new_from_name (libvlc_instance_t *p_inst, const char *psz_name, libvlc_exception_t *p_e) void libvlc_media_discoverer_release (libvlc_media_discoverer_t *p_mdis) char * libvlc_media_discoverer_localized_name (libvlc_media_discoverer_t *p_mdis) libvlc_media_list_t * libvlc_media_discoverer_media_list (libvlc_media_discoverer_t *p_mdis) libvlc_event_manager_t * libvlc_media_discoverer_event_manager (libvlc_media_discoverer_t *p_mdis) vlc_bool_t libvlc_media_discoverer_is_running (libvlc_media_discoverer_t *p_mdis) void libvlc_vlm_add_broadcast (libvlc_instance_t *, char *, char *, char *, int, char **, int, int, libvlc_exception_t *) void libvlc_vlm_del_media (libvlc_instance_t *, char *, libvlc_exception_t *) void libvlc_vlm_set_enabled (libvlc_instance_t *, char *, int, libvlc_exception_t *) void libvlc_vlm_set_output (libvlc_instance_t *, char *, char *, libvlc_exception_t *) void libvlc_vlm_set_input (libvlc_instance_t *, char *, char *, libvlc_exception_t *) void libvlc_vlm_add_input (libvlc_instance_t *, char *, char *, libvlc_exception_t *p_exception) void libvlc_vlm_set_loop (libvlc_instance_t *, char *, int, libvlc_exception_t *) void libvlc_vlm_change_media (libvlc_instance_t *, char *, char *, char *, int, char **, int, int, libvlc_exception_t *) void libvlc_vlm_play_media (libvlc_instance_t *, char *, libvlc_exception_t *) void libvlc_vlm_stop_media (libvlc_instance_t *, char *, libvlc_exception_t *) void libvlc_vlm_pause_media (libvlc_instance_t *, char *, libvlc_exception_t *) void libvlc_vlm_seek_media (libvlc_instance_t *, char *, float, libvlc_exception_t *) char * libvlc_vlm_show_media (libvlc_instance_t *, char *, libvlc_exception_t *) float libvlc_vlm_get_media_position (libvlc_instance_t *, char *, int, libvlc_exception_t *) int libvlc_vlm_get_media_time (libvlc_instance_t *, char *, int, libvlc_exception_t *) int libvlc_vlm_get_media_length (libvlc_instance_t *, char *, int, libvlc_exception_t *) int libvlc_vlm_get_media_rate (libvlc_instance_t *, char *, int, libvlc_exception_t *) int libvlc_vlm_get_media_title (libvlc_instance_t *, char *, int, libvlc_exception_t *) int libvlc_vlm_get_media_chapter (libvlc_instance_t *, char *, int, libvlc_exception_t *) int libvlc_vlm_get_media_seekable (libvlc_instance_t *, char *, int, libvlc_exception_t *) #define LIBVLC_VLM_GET_MEDIA_ATTRIBUTE(attr, returnType, getType, default) unsigned libvlc_get_log_verbosity (const libvlc_instance_t *p_instance, libvlc_exception_t *p_e) void libvlc_set_log_verbosity (libvlc_instance_t *p_instance, unsigned level, libvlc_exception_t *p_e) libvlc_log_t * libvlc_log_open (libvlc_instance_t *, libvlc_exception_t *) void libvlc_log_close (libvlc_log_t *, libvlc_exception_t *) unsigned libvlc_log_count (const libvlc_log_t *, libvlc_exception_t *) void libvlc_log_clear (libvlc_log_t *, libvlc_exception_t *) libvlc_log_iterator_t * libvlc_log_get_iterator (const libvlc_log_t *, libvlc_exception_t *) void libvlc_log_iterator_free (libvlc_log_iterator_t *p_iter, libvlc_exception_t *p_e) int libvlc_log_iterator_has_next (const libvlc_log_iterator_t *p_iter, libvlc_exception_t *p_e) libvlc_log_message_t * libvlc_log_iterator_next (libvlc_log_iterator_t *p_iter, struct libvlc_log_message_t *buffer, libvlc_exception_t *p_e) void 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, libvlc_exception_t *p_e) 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_exception_t *p_e) const char * libvlc_event_type_name (libvlc_event_type_t event_type)
(extraction by applying a grep -v '^ '
on the text view of the doxygen.