* \return the libvlc instance or NULL in case of error
*/
VLC_PUBLIC_API libvlc_instance_t *
-libvlc_new( int , const char *const * );
+libvlc_new( int argc , const char *const *argv );
/**
* Decrement the reference count of a libvlc instance, and destroy it
*
* \param p_instance the instance to destroy
*/
-VLC_PUBLIC_API void libvlc_release( libvlc_instance_t * );
+VLC_PUBLIC_API void libvlc_release( libvlc_instance_t *p_instance );
/**
* Increments the reference count of a libvlc instance.
*
* \param p_instance the instance to reference
*/
-VLC_PUBLIC_API void libvlc_retain( libvlc_instance_t * );
+VLC_PUBLIC_API void libvlc_retain( libvlc_instance_t *p_instance );
/**
* Try to start a user interface for the libvlc instance.
/**
* Get an event's type name.
*
- * \param i_event_type the desired event
+ * \param event_type the desired event
*/
VLC_PUBLIC_API const char * libvlc_event_type_name( libvlc_event_type_t event_type );
* \param p_instance libvlc instance
* \return log message instance or NULL on error
*/
-VLC_PUBLIC_API libvlc_log_t *libvlc_log_open( libvlc_instance_t *);
+VLC_PUBLIC_API libvlc_log_t *libvlc_log_open( libvlc_instance_t *p_instance );
/**
* Close a VLC message log instance.
* \param p_log libvlc log instance
* \return log iterator object or NULL on error
*/
-VLC_PUBLIC_API libvlc_log_iterator_t *libvlc_log_get_iterator( const libvlc_log_t * );
+VLC_PUBLIC_API libvlc_log_iterator_t *libvlc_log_get_iterator( const libvlc_log_t *p_log );
/**
* Release a previoulsy allocated iterator.
/**
* Create an empty media list.
*
- * \param p_libvlc libvlc instance
+ * \param p_instance libvlc instance
* \return empty media list, or NULL on error
*/
VLC_PUBLIC_API libvlc_media_list_t *
- libvlc_media_list_new( libvlc_instance_t * );
+ libvlc_media_list_new( libvlc_instance_t *p_instance );
/**
* Release media list created with libvlc_media_list_new().
* \param p_ml a media list created with libvlc_media_list_new()
*/
VLC_PUBLIC_API void
- libvlc_media_list_release( libvlc_media_list_t * );
+ libvlc_media_list_release( libvlc_media_list_t *p_ml );
/**
* Retain reference to a media list
* \param p_ml a media list created with libvlc_media_list_new()
*/
VLC_PUBLIC_API void
- libvlc_media_list_retain( libvlc_media_list_t * );
+ libvlc_media_list_retain( libvlc_media_list_t *p_ml );
VLC_DEPRECATED_API int
- libvlc_media_list_add_file_content( libvlc_media_list_t * p_mlist,
+ libvlc_media_list_add_file_content( libvlc_media_list_t * p_ml,
const char * psz_uri );
/**
* The libvlc_media_list_lock should NOT be held upon entering this function.
*
* \param p_ml a media list instance
- * \param p_mi media instance to add
+ * \param p_md media instance to add
*/
VLC_PUBLIC_API void
libvlc_media_list_set_media( libvlc_media_list_t *p_ml, libvlc_media_t *p_md );
* The libvlc_media_list_lock should be held upon entering this function.
*
* \param p_ml a media list instance
- * \param p_mi a media instance
+ * \param p_md a media instance
* \return 0 on success, -1 if the media list is read-only
*/
VLC_PUBLIC_API int
-libvlc_media_list_add_media( libvlc_media_list_t *, libvlc_media_t * );
+libvlc_media_list_add_media( libvlc_media_list_t *p_ml, libvlc_media_t *p_md );
/**
* Insert media instance in media list on a position
* The libvlc_media_list_lock should be held upon entering this function.
*
* \param p_ml a media list instance
- * \param p_mi a media instance
+ * \param p_md a media instance
* \param i_pos position in array where to insert
* \return 0 on success, -1 if the media list si read-only
*/
VLC_PUBLIC_API int
-libvlc_media_list_insert_media( libvlc_media_list_t *,
- libvlc_media_t *, int );
+libvlc_media_list_insert_media( libvlc_media_list_t *p_ml,
+ libvlc_media_t *p_md, int i_pos );
/**
* Remove media instance from media list on a position
* \return 0 on success, -1 if the list is read-only or the item was not found
*/
VLC_PUBLIC_API int
-libvlc_media_list_remove_index( libvlc_media_list_t *, int );
+libvlc_media_list_remove_index( libvlc_media_list_t *p_ml, int i_pos );
/**
* Get count on media list items
* on the media.
*/
VLC_PUBLIC_API libvlc_media_t *
- libvlc_media_list_item_at_index( libvlc_media_list_t *, int );
+ libvlc_media_list_item_at_index( libvlc_media_list_t *p_ml, int i_pos );
/**
* Find index position of List media instance in media list.
* Warning: the function will return the first matched position.
* The libvlc_media_list_lock should be held upon entering this function.
*
* \param p_ml a media list instance
- * \param p_mi media list instance
+ * \param p_md media list instance
* \return position of media instance
*/
VLC_PUBLIC_API int
libvlc_media_list_index_of_item( libvlc_media_list_t *p_ml,
- libvlc_media_t *p_mi );
+ libvlc_media_t *p_md );
/**
* This indicates if this media list is read-only from a user point of view
* \return 0 on readonly, 1 on readwrite
*/
VLC_PUBLIC_API int
- libvlc_media_list_is_readonly( libvlc_media_list_t * p_mlist );
+ libvlc_media_list_is_readonly( libvlc_media_list_t * p_ml );
/**
* Get lock on media list items
* \param p_ml a media list instance
*/
VLC_PUBLIC_API void
- libvlc_media_list_lock( libvlc_media_list_t * );
+ libvlc_media_list_lock( libvlc_media_list_t *p_ml );
/**
* Release lock on media list items
* \param p_ml a media list instance
*/
VLC_PUBLIC_API void
- libvlc_media_list_unlock( libvlc_media_list_t * );
+ libvlc_media_list_unlock( libvlc_media_list_t *p_ml );
/**
* Get libvlc_event_manager from this media list instance.