Commit 6a065215 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Rename VLC_{PUBLIC,DEPRECATED}_API to LIBVLC_{API,DEPRECATED}

There are no functional, source or binary changes. This is only for
consistency: libvlc stuff -> LIBVLC, vlc plugin stuff -> VLC
parent 92f1b3ae
......@@ -65,43 +65,43 @@ typedef struct mediacontrol_Instance mediacontrol_Instance;
* Free a RGBPicture structure.
* \param pic: the RGBPicture structure
*/
VLC_PUBLIC_API void mediacontrol_RGBPicture__free( mediacontrol_RGBPicture *pic );
LIBVLC_API void mediacontrol_RGBPicture__free( mediacontrol_RGBPicture *pic );
VLC_PUBLIC_API void mediacontrol_PlaylistSeq__free( mediacontrol_PlaylistSeq *ps );
LIBVLC_API void mediacontrol_PlaylistSeq__free( mediacontrol_PlaylistSeq *ps );
/**
* Free a StreamInformation structure.
* \param pic: the StreamInformation structure
*/
VLC_PUBLIC_API void
LIBVLC_API void
mediacontrol_StreamInformation__free( mediacontrol_StreamInformation* p_si );
/**
* Instanciate and initialize an exception structure.
* \return the exception
*/
VLC_PUBLIC_API mediacontrol_Exception *
LIBVLC_API mediacontrol_Exception *
mediacontrol_exception_create( void );
/**
* Initialize an existing exception structure.
* \param p_exception the exception to initialize.
*/
VLC_PUBLIC_API void
LIBVLC_API void
mediacontrol_exception_init( mediacontrol_Exception *exception );
/**
* Clean up an existing exception structure after use.
* \param p_exception the exception to clean up.
*/
VLC_PUBLIC_API void
LIBVLC_API void
mediacontrol_exception_cleanup( mediacontrol_Exception *exception );
/**
* Free an exception structure created with mediacontrol_exception_create().
* \param p_exception the exception to free.
*/
VLC_PUBLIC_API void mediacontrol_exception_free(mediacontrol_Exception *exception);
LIBVLC_API void mediacontrol_exception_free(mediacontrol_Exception *exception);
/*****************************************************************************
* Core functions
......@@ -114,7 +114,7 @@ VLC_PUBLIC_API void mediacontrol_exception_free(mediacontrol_Exception *exceptio
* \param exception an initialized exception pointer
* \return a mediacontrol_Instance
*/
VLC_PUBLIC_API mediacontrol_Instance *
LIBVLC_API mediacontrol_Instance *
mediacontrol_new( int argc, char **argv, mediacontrol_Exception *exception );
/**
......@@ -123,7 +123,7 @@ mediacontrol_new( int argc, char **argv, mediacontrol_Exception *exception );
* \param exception an initialized exception pointer
* \return a mediacontrol_Instance
*/
VLC_PUBLIC_API mediacontrol_Instance *
LIBVLC_API mediacontrol_Instance *
mediacontrol_new_from_instance( libvlc_instance_t* p_instance,
mediacontrol_Exception *exception );
......@@ -132,7 +132,7 @@ mediacontrol_new_from_instance( libvlc_instance_t* p_instance,
* \param self: the mediacontrol instance
* \return a libvlc instance
*/
VLC_PUBLIC_API libvlc_instance_t*
LIBVLC_API libvlc_instance_t*
mediacontrol_get_libvlc_instance( mediacontrol_Instance* self );
/**
......@@ -140,7 +140,7 @@ mediacontrol_get_libvlc_instance( mediacontrol_Instance* self );
* \param self: the mediacontrol instance
* \return a libvlc_media_player_t instance
*/
VLC_PUBLIC_API libvlc_media_player_t*
LIBVLC_API libvlc_media_player_t*
mediacontrol_get_media_player( mediacontrol_Instance* self );
/**
......@@ -151,7 +151,7 @@ mediacontrol_get_media_player( mediacontrol_Instance* self );
* \param exception an initialized exception pointer
* \return a mediacontrol_Position
*/
VLC_PUBLIC_API mediacontrol_Position * mediacontrol_get_media_position(
LIBVLC_API mediacontrol_Position * mediacontrol_get_media_position(
mediacontrol_Instance *self,
const mediacontrol_PositionOrigin an_origin,
const mediacontrol_PositionKey a_key,
......@@ -163,7 +163,7 @@ VLC_PUBLIC_API mediacontrol_Position * mediacontrol_get_media_position(
* \param a_position a mediacontrol_Position
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API void mediacontrol_set_media_position( mediacontrol_Instance *self,
LIBVLC_API void mediacontrol_set_media_position( mediacontrol_Instance *self,
const mediacontrol_Position *a_position,
mediacontrol_Exception *exception );
......@@ -173,7 +173,7 @@ VLC_PUBLIC_API void mediacontrol_set_media_position( mediacontrol_Instance *self
* \param a_position a mediacontrol_Position
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API void mediacontrol_start( mediacontrol_Instance *self,
LIBVLC_API void mediacontrol_start( mediacontrol_Instance *self,
const mediacontrol_Position *a_position,
mediacontrol_Exception *exception );
......@@ -182,7 +182,7 @@ VLC_PUBLIC_API void mediacontrol_start( mediacontrol_Instance *self,
* \param self the mediacontrol instance
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API void mediacontrol_pause( mediacontrol_Instance *self,
LIBVLC_API void mediacontrol_pause( mediacontrol_Instance *self,
mediacontrol_Exception *exception );
/**
......@@ -190,7 +190,7 @@ VLC_PUBLIC_API void mediacontrol_pause( mediacontrol_Instance *self,
* \param self the mediacontrol instance
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API void mediacontrol_resume( mediacontrol_Instance *self,
LIBVLC_API void mediacontrol_resume( mediacontrol_Instance *self,
mediacontrol_Exception *exception );
/**
......@@ -198,14 +198,14 @@ VLC_PUBLIC_API void mediacontrol_resume( mediacontrol_Instance *self,
* \param self the mediacontrol instance
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API void mediacontrol_stop( mediacontrol_Instance *self,
LIBVLC_API void mediacontrol_stop( mediacontrol_Instance *self,
mediacontrol_Exception *exception );
/**
* Exit the player
* \param self the mediacontrol instance
*/
VLC_PUBLIC_API void mediacontrol_exit( mediacontrol_Instance *self );
LIBVLC_API void mediacontrol_exit( mediacontrol_Instance *self );
/**
* Set the MRL to be played.
......@@ -213,7 +213,7 @@ VLC_PUBLIC_API void mediacontrol_exit( mediacontrol_Instance *self );
* \param psz_file the MRL
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API void mediacontrol_set_mrl( mediacontrol_Instance *self,
LIBVLC_API void mediacontrol_set_mrl( mediacontrol_Instance *self,
const char* psz_file,
mediacontrol_Exception *exception );
......@@ -222,7 +222,7 @@ VLC_PUBLIC_API void mediacontrol_set_mrl( mediacontrol_Instance *self,
* \param self the mediacontrol instance
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API char * mediacontrol_get_mrl( mediacontrol_Instance *self,
LIBVLC_API char * mediacontrol_get_mrl( mediacontrol_Instance *self,
mediacontrol_Exception *exception );
/*****************************************************************************
......@@ -235,7 +235,7 @@ VLC_PUBLIC_API char * mediacontrol_get_mrl( mediacontrol_Instance *self,
* \param exception an initialized exception pointer
* \return a RGBpicture
*/
VLC_PUBLIC_API mediacontrol_RGBPicture *
LIBVLC_API mediacontrol_RGBPicture *
mediacontrol_snapshot( mediacontrol_Instance *self,
const mediacontrol_Position *a_position,
mediacontrol_Exception *exception );
......@@ -248,7 +248,7 @@ VLC_PUBLIC_API mediacontrol_RGBPicture *
* \param end the end position
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API void mediacontrol_display_text( mediacontrol_Instance *self,
LIBVLC_API void mediacontrol_display_text( mediacontrol_Instance *self,
const char *message,
const mediacontrol_Position *begin,
const mediacontrol_Position *end,
......@@ -261,7 +261,7 @@ VLC_PUBLIC_API void mediacontrol_display_text( mediacontrol_Instance *self,
* \param exception an initialized exception pointer
* \return a mediacontrol_StreamInformation
*/
VLC_PUBLIC_API mediacontrol_StreamInformation *
LIBVLC_API mediacontrol_StreamInformation *
mediacontrol_get_stream_information( mediacontrol_Instance *self,
mediacontrol_PositionKey a_key,
mediacontrol_Exception *exception );
......@@ -272,7 +272,7 @@ VLC_PUBLIC_API mediacontrol_StreamInformation *
* \param exception an initialized exception pointer
* \return the volume
*/
VLC_PUBLIC_API unsigned short
LIBVLC_API unsigned short
mediacontrol_sound_get_volume( mediacontrol_Instance *self,
mediacontrol_Exception *exception );
/**
......@@ -281,7 +281,7 @@ VLC_PUBLIC_API unsigned short
* \param volume the volume (normalized in [0..100])
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API void mediacontrol_sound_set_volume( mediacontrol_Instance *self,
LIBVLC_API void mediacontrol_sound_set_volume( mediacontrol_Instance *self,
const unsigned short volume,
mediacontrol_Exception *exception );
......@@ -291,7 +291,7 @@ VLC_PUBLIC_API void mediacontrol_sound_set_volume( mediacontrol_Instance *self,
* \param visual_id the Xid or HWND, depending on the platform
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API int mediacontrol_set_visual( mediacontrol_Instance *self,
LIBVLC_API int mediacontrol_set_visual( mediacontrol_Instance *self,
WINDOWHANDLE visual_id,
mediacontrol_Exception *exception );
......@@ -301,7 +301,7 @@ VLC_PUBLIC_API int mediacontrol_set_visual( mediacontrol_Instance *self,
* \param exception an initialized exception pointer
* \return the rate
*/
VLC_PUBLIC_API int mediacontrol_get_rate( mediacontrol_Instance *self,
LIBVLC_API int mediacontrol_get_rate( mediacontrol_Instance *self,
mediacontrol_Exception *exception );
/**
......@@ -310,7 +310,7 @@ VLC_PUBLIC_API int mediacontrol_get_rate( mediacontrol_Instance *self,
* \param rate the desired rate
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API void mediacontrol_set_rate( mediacontrol_Instance *self,
LIBVLC_API void mediacontrol_set_rate( mediacontrol_Instance *self,
const int rate,
mediacontrol_Exception *exception );
......@@ -320,7 +320,7 @@ VLC_PUBLIC_API void mediacontrol_set_rate( mediacontrol_Instance *self,
* \param exception an initialized exception pointer
* \return the fullscreen status
*/
VLC_PUBLIC_API int mediacontrol_get_fullscreen( mediacontrol_Instance *self,
LIBVLC_API int mediacontrol_get_fullscreen( mediacontrol_Instance *self,
mediacontrol_Exception *exception );
/**
......@@ -329,7 +329,7 @@ VLC_PUBLIC_API int mediacontrol_get_fullscreen( mediacontrol_Instance *self,
* \param b_fullscreen the desired status
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API void mediacontrol_set_fullscreen( mediacontrol_Instance *self,
LIBVLC_API void mediacontrol_set_fullscreen( mediacontrol_Instance *self,
const int b_fullscreen,
mediacontrol_Exception *exception );
......
......@@ -56,7 +56,7 @@ extern "C" {
* \param i_options the number of options to add to the item
* \param ppsz_options the options to add to the item
*/
VLC_DEPRECATED_API void libvlc_playlist_play( libvlc_instance_t *p_instance,
LIBVLC_DEPRECATED void libvlc_playlist_play( libvlc_instance_t *p_instance,
int i_id, int i_options,
char **ppsz_options );
......
......@@ -39,21 +39,21 @@
#define VLC_LIBVLC_H 1
#if defined (WIN32) && defined (DLL_EXPORT)
# define VLC_PUBLIC_API __declspec(dllexport)
# define LIBVLC_API __declspec(dllexport)
#elif defined (__GNUC__) && (__GNUC__ >= 4)
# define VLC_PUBLIC_API __attribute__((visibility("default")))
# define LIBVLC_API __attribute__((visibility("default")))
#else
# define VLC_PUBLIC_API
# define LIBVLC_API
#endif
#ifdef __LIBVLC__
/* Avoid unuseful warnings from libvlc with our deprecated APIs */
# define VLC_DEPRECATED_API VLC_PUBLIC_API
# define LIBVLC_DEPRECATED LIBVLC_API
#elif defined(__GNUC__) && \
(__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
# define VLC_DEPRECATED_API VLC_PUBLIC_API __attribute__((deprecated))
# define LIBVLC_DEPRECATED LIBVLC_API __attribute__((deprecated))
#else
# define VLC_DEPRECATED_API VLC_PUBLIC_API
# define LIBVLC_DEPRECATED LIBVLC_API
#endif
# ifdef __cplusplus
......@@ -87,14 +87,14 @@ extern "C" {
* @warning
* This will be NULL if there was no error.
*/
VLC_PUBLIC_API const char *libvlc_errmsg (void);
LIBVLC_API const char *libvlc_errmsg (void);
/**
* Clears the LibVLC error status for the current thread. This is optional.
* By default, the error status is automatically overridden when a new error
* occurs, and destroyed when the thread exits.
*/
VLC_PUBLIC_API void libvlc_clearerr (void);
LIBVLC_API void libvlc_clearerr (void);
/**
* Sets the LibVLC error status and message for the current thread.
......@@ -134,7 +134,7 @@ const char *libvlc_printerr (const char *fmt, ...);
* \param argv list of arguments (should be NULL)
* \return the libvlc instance or NULL in case of error
*/
VLC_PUBLIC_API libvlc_instance_t *
LIBVLC_API libvlc_instance_t *
libvlc_new( int argc , const char *const *argv );
/**
......@@ -143,7 +143,7 @@ libvlc_new( int argc , const char *const *argv );
*
* \param p_instance the instance to destroy
*/
VLC_PUBLIC_API void libvlc_release( libvlc_instance_t *p_instance );
LIBVLC_API void libvlc_release( libvlc_instance_t *p_instance );
/**
* Increments the reference count of a libvlc instance.
......@@ -151,7 +151,7 @@ VLC_PUBLIC_API void libvlc_release( libvlc_instance_t *p_instance );
*
* \param p_instance the instance to reference
*/
VLC_PUBLIC_API void libvlc_retain( libvlc_instance_t *p_instance );
LIBVLC_API void libvlc_retain( libvlc_instance_t *p_instance );
/**
* Try to start a user interface for the libvlc instance.
......@@ -160,7 +160,7 @@ VLC_PUBLIC_API void libvlc_retain( libvlc_instance_t *p_instance );
* \param name interface name, or NULL for default
* \return 0 on success, -1 on error.
*/
VLC_PUBLIC_API
LIBVLC_API
int libvlc_add_intf( libvlc_instance_t *p_instance, const char *name );
/**
......@@ -175,7 +175,7 @@ int libvlc_add_intf( libvlc_instance_t *p_instance, const char *name );
* \warning This function and libvlc_wait() cannot be used at the same time.
* Use either or none of them but not both.
*/
VLC_PUBLIC_API
LIBVLC_API
void libvlc_set_exit_handler( libvlc_instance_t *p_instance,
void (*cb) (void *), void *opaque );
......@@ -185,7 +185,7 @@ void libvlc_set_exit_handler( libvlc_instance_t *p_instance,
*
* \param p_instance the instance
*/
VLC_PUBLIC_API
LIBVLC_API
void libvlc_wait( libvlc_instance_t *p_instance );
/**
......@@ -197,7 +197,7 @@ void libvlc_wait( libvlc_instance_t *p_instance );
* \param http HTTP User Agent, e.g. "FooBar/1.2.3 Python/2.6.0"
* \version LibVLC 1.1.1 or later
*/
VLC_PUBLIC_API
LIBVLC_API
void libvlc_set_user_agent( libvlc_instance_t *p_instance,
const char *name, const char *http );
......@@ -208,7 +208,7 @@ void libvlc_set_user_agent( libvlc_instance_t *p_instance,
*
* \return a string containing the libvlc version
*/
VLC_PUBLIC_API const char * libvlc_get_version(void);
LIBVLC_API const char * libvlc_get_version(void);
/**
* Retrieve libvlc compiler version.
......@@ -217,7 +217,7 @@ VLC_PUBLIC_API const char * libvlc_get_version(void);
*
* \return a string containing the libvlc compiler version
*/
VLC_PUBLIC_API const char * libvlc_get_compiler(void);
LIBVLC_API const char * libvlc_get_compiler(void);
/**
* Retrieve libvlc changeset.
......@@ -226,7 +226,7 @@ VLC_PUBLIC_API const char * libvlc_get_compiler(void);
*
* \return a string containing the libvlc changeset
*/
VLC_PUBLIC_API const char * libvlc_get_changeset(void);
LIBVLC_API const char * libvlc_get_changeset(void);
/**
* Frees an heap allocation returned by a LibVLC function.
......@@ -235,7 +235,7 @@ VLC_PUBLIC_API const char * libvlc_get_changeset(void);
*
* \param ptr the pointer
*/
VLC_PUBLIC_API void libvlc_free( void *ptr );
LIBVLC_API void libvlc_free( void *ptr );
/** \defgroup libvlc_event LibVLC asynchronous events
* LibVLC emits asynchronous events.
......@@ -278,7 +278,7 @@ typedef void ( *libvlc_callback_t )( const struct libvlc_event_t *, void * );
* \param user_data user provided data to carry with the event
* \return 0 on success, ENOMEM on error
*/
VLC_PUBLIC_API int libvlc_event_attach( libvlc_event_manager_t *p_event_manager,
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 );
......@@ -291,7 +291,7 @@ VLC_PUBLIC_API int libvlc_event_attach( libvlc_event_manager_t *p_event_manager,
* \param f_callback the function to call when i_event_type occurs
* \param p_user_data user provided data to carry with the event
*/
VLC_PUBLIC_API void libvlc_event_detach( libvlc_event_manager_t *p_event_manager,
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 );
......@@ -301,7 +301,7 @@ VLC_PUBLIC_API void libvlc_event_detach( libvlc_event_manager_t *p_event_manager
*
* \param event_type the desired event
*/
VLC_PUBLIC_API const char * libvlc_event_type_name( libvlc_event_type_t event_type );
LIBVLC_API const char * libvlc_event_type_name( libvlc_event_type_t event_type );
/** @} */
......@@ -317,7 +317,7 @@ VLC_PUBLIC_API const char * libvlc_event_type_name( libvlc_event_type_t event_ty
* \param p_instance libvlc instance
* \return verbosity level for messages
*/
VLC_PUBLIC_API unsigned libvlc_get_log_verbosity( const libvlc_instance_t *p_instance );
LIBVLC_API unsigned libvlc_get_log_verbosity( const libvlc_instance_t *p_instance );
/**
* Set the VLC messaging verbosity level.
......@@ -325,7 +325,7 @@ VLC_PUBLIC_API unsigned libvlc_get_log_verbosity( const libvlc_instance_t *p_ins
* \param p_instance libvlc log instance
* \param level log level
*/
VLC_PUBLIC_API void libvlc_set_log_verbosity( libvlc_instance_t *p_instance, unsigned level );
LIBVLC_API void libvlc_set_log_verbosity( libvlc_instance_t *p_instance, unsigned level );
/**
* Open a VLC message log instance.
......@@ -333,14 +333,14 @@ VLC_PUBLIC_API void libvlc_set_log_verbosity( libvlc_instance_t *p_instance, uns
* \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 *p_instance );
LIBVLC_API libvlc_log_t *libvlc_log_open( libvlc_instance_t *p_instance );
/**
* Close a VLC message log instance.
*
* \param p_log libvlc log instance or NULL
*/
VLC_PUBLIC_API void libvlc_log_close( libvlc_log_t *p_log );
LIBVLC_API void libvlc_log_close( libvlc_log_t *p_log );
/**
* Returns the number of messages in a log instance.
......@@ -348,7 +348,7 @@ VLC_PUBLIC_API void libvlc_log_close( libvlc_log_t *p_log );
* \param p_log libvlc log instance or NULL
* \return number of log messages, 0 if p_log is NULL
*/
VLC_PUBLIC_API unsigned libvlc_log_count( const libvlc_log_t *p_log );
LIBVLC_API unsigned libvlc_log_count( const libvlc_log_t *p_log );
/**
* Clear a log instance.
......@@ -358,7 +358,7 @@ VLC_PUBLIC_API unsigned libvlc_log_count( const libvlc_log_t *p_log );
*
* \param p_log libvlc log instance or NULL
*/
VLC_PUBLIC_API void libvlc_log_clear( libvlc_log_t *p_log );
LIBVLC_API void libvlc_log_clear( libvlc_log_t *p_log );
/**
* Allocate and returns a new iterator to messages in log.
......@@ -366,14 +366,14 @@ VLC_PUBLIC_API void libvlc_log_clear( libvlc_log_t *p_log );
* \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 *p_log );
LIBVLC_API libvlc_log_iterator_t *libvlc_log_get_iterator( const libvlc_log_t *p_log );
/**
* Release a previoulsy allocated iterator.
*
* \param p_iter libvlc log iterator or NULL
*/
VLC_PUBLIC_API void libvlc_log_iterator_free( libvlc_log_iterator_t *p_iter );
LIBVLC_API void libvlc_log_iterator_free( libvlc_log_iterator_t *p_iter );
/**
* Return whether log iterator has more messages.
......@@ -381,7 +381,7 @@ VLC_PUBLIC_API void libvlc_log_iterator_free( libvlc_log_iterator_t *p_iter );
* \param p_iter libvlc log iterator or NULL
* \return true if iterator has more message objects, else false
*/
VLC_PUBLIC_API int libvlc_log_iterator_has_next( const libvlc_log_iterator_t *p_iter );
LIBVLC_API int libvlc_log_iterator_has_next( const libvlc_log_iterator_t *p_iter );
/**
* Return the next log message.
......@@ -392,7 +392,7 @@ VLC_PUBLIC_API int libvlc_log_iterator_has_next( const libvlc_log_iterator_t *p_
* \param p_buffer log buffer
* \return log message object or NULL if none left
*/
VLC_PUBLIC_API libvlc_log_message_t *libvlc_log_iterator_next( libvlc_log_iterator_t *p_iter,
LIBVLC_API libvlc_log_message_t *libvlc_log_iterator_next( libvlc_log_iterator_t *p_iter,
libvlc_log_message_t *p_buffer );
/** @} */
......@@ -416,7 +416,7 @@ libvlc_module_description_t *libvlc_module_description_list_get( libvlc_instance
*
* \param p_list the list to be released
*/
VLC_PUBLIC_API
LIBVLC_API
void libvlc_module_description_list_release( libvlc_module_description_t *p_list );
/**
......@@ -430,7 +430,7 @@ void libvlc_module_description_list_release( libvlc_module_description_t *p_list
* \see libvlc_module_description_t
* \see libvlc_module_description_list_release
*/
VLC_PUBLIC_API
LIBVLC_API
libvlc_module_description_t *libvlc_audio_filter_list_get( libvlc_instance_t *p_instance );
/**
......@@ -444,7 +444,7 @@ libvlc_module_description_t *libvlc_audio_filter_list_get( libvlc_instance_t *p_
* \see libvlc_module_description_t
* \see libvlc_module_description_list_release
*/
VLC_PUBLIC_API
LIBVLC_API
libvlc_module_description_t *libvlc_video_filter_list_get( libvlc_instance_t *p_instance );
/** @} */
......
......@@ -185,7 +185,7 @@ typedef struct libvlc_media_track_info_t
* \param psz_mrl the media location
* \return the newly created media or NULL on error
*/
VLC_PUBLIC_API libvlc_media_t *libvlc_media_new_location(
LIBVLC_API libvlc_media_t *libvlc_media_new_location(
libvlc_instance_t *p_instance,
const char * psz_mrl );
......@@ -198,7 +198,7 @@ VLC_PUBLIC_API libvlc_media_t *libvlc_media_new_location(
* \param path local filesystem path
* \return the newly created media or NULL on error
*/
VLC_PUBLIC_API libvlc_media_t *libvlc_media_new_path(
LIBVLC_API libvlc_media_t *libvlc_media_new_path(
libvlc_instance_t *p_instance,
const char *path );
......@@ -226,7 +226,7 @@ VLC_PUBLIC_API libvlc_media_t *libvlc_media_new_path(
* \param fd open file descriptor
* \return the newly created media or NULL on error
*/
VLC_PUBLIC_API libvlc_media_t *libvlc_media_new_fd(
LIBVLC_API libvlc_media_t *libvlc_media_new_fd(
libvlc_instance_t *p_instance,
int fd );
......@@ -240,7 +240,7 @@ VLC_PUBLIC_API libvlc_media_t *libvlc_media_new_fd(
* \param psz_name the name of the node
* \return the new empty media or NULL on error
*/
VLC_PUBLIC_API libvlc_media_t *libvlc_media_new_as_node(
LIBVLC_API libvlc_media_t *libvlc_media_new_as_node(
libvlc_instance_t *p_instance,
const char * psz_name );
......@@ -256,7 +256,7 @@ VLC_PUBLIC_API libvlc_media_t *libvlc_media_new_as_node(
* \param p_md the media descriptor
* \param ppsz_options the options (as a string)
*/
VLC_PUBLIC_API void libvlc_media_add_option(
LIBVLC_API void libvlc_media_add_option(
libvlc_media_t *p_md,
const char * ppsz_options );
......@@ -273,7 +273,7 @@ VLC_PUBLIC_API void libvlc_media_add_option(
* \param ppsz_options the options (as a string)
* \param i_flags the flags for this option
*/
VLC_PUBLIC_API void libvlc_media_add_option_flag(
LIBVLC_API void libvlc_media_add_option_flag(
libvlc_media_t *p_md,
const char * ppsz_options,
unsigned i_flags );
......@@ -286,7 +286,7 @@ VLC_PUBLIC_API void libvlc_media_add_option_flag(
*
* \param p_md the media descriptor
*/
VLC_PUBLIC_API void libvlc_media_retain( libvlc_media_t *p_md );
LIBVLC_API void libvlc_media_retain( libvlc_media_t *p_md );
/**
* Decrement the reference count of a media descriptor object. If the
......@@ -297,7 +297,7 @@ VLC_PUBLIC_API void libvlc_media_retain( libvlc_media_t *p_md );
*
* \param p_md the media descriptor
*/
VLC_PUBLIC_API void libvlc_media_release( libvlc_media_t *p_md );
LIBVLC_API void libvlc_media_release( libvlc_media_t *p_md );
/**
......@@ -306,14 +306,14 @@ VLC_PUBLIC_API void libvlc_media_release( libvlc_media_t *p_md );
* \param p_md a media descriptor object
* \return string with mrl of media descriptor object
*/
VLC_PUBLIC_API char *libvlc_media_get_mrl( libvlc_media_t *p_md );
LIBVLC_API char *libvlc_media_get_mrl( libvlc_media_t *p_md );
/**
* Duplicate a media descriptor object.
*
* \param p_md a media descriptor object.
*/
VLC_PUBLIC_API libvlc_media_t *libvlc_media_duplicate( libvlc_media_t *p_md );
LIBVLC_API libvlc_media_t *libvlc_media_duplicate( libvlc_media_t *p_md );
/**
* Read the meta of the media.
......@@ -332,7 +332,7 @@ VLC_PUBLIC_API libvlc_media_t *libvlc_media_duplicate( libvlc_media_t *p_md );
* \param e_meta the meta to read
* \return the media's meta
*/
VLC_PUBLIC_API char *libvlc_media_get_meta( libvlc_media_t *p_md,
LIBVLC_API char *libvlc_media_get_meta( libvlc_media_t *p_md,
libvlc_meta_t e_meta );
/**
......@@ -343,7 +343,7 @@ VLC_PUBLIC_API char *libvlc_media_get_meta( libvlc_media_t *p_md,
* \param e_meta the meta to write
* \param psz_value the media's meta
*/
VLC_PUBLIC_API void libvlc_media_set_meta( libvlc_media_t *p_md,
LIBVLC_API void libvlc_media_set_meta( libvlc_media_t *p_md,
libvlc_meta_t e_meta,
const char *psz_value );
......@@ -354,7 +354,7 @@ VLC_PUBLIC_API void libvlc_media_set_meta( libvlc_media_t *p_md,
* \param p_md the media desriptor
* \return true if the write operation was successfull
*/
VLC_PUBLIC_API int libvlc_media_save_meta( libvlc_media_t *p_md );
LIBVLC_API int libvlc_media_save_meta( libvlc_media_t *p_md );
/**
......@@ -368,7 +368,7 @@ VLC_PUBLIC_API int libvlc_media_save_meta( libvlc_media_t *p_md );
* \param p_md a media descriptor object
* \return state of media descriptor object
*/
VLC_PUBLIC_API libvlc_state_t libvlc_media_get_state(
LIBVLC_API libvlc_state_t libvlc_media_get_state(
libvlc_media_t *p_md );
......@@ -379,7 +379,7 @@ VLC_PUBLIC_API libvlc_state_t libvlc_media_get_state(
* (this structure must be allocated by the caller)
* \return true if the statistics are available, false otherwise
*/
VLC_PUBLIC_API int libvlc_media_get_stats( libvlc_media_t *p_md,
LIBVLC_API int libvlc_media_get_stats( libvlc_media_t *p_md,
libvlc_media_stats_t *p_stats );
/**
......@@ -395,7 +395,7 @@ VLC_PUBLIC_API int libvlc_media_get_stats( libvlc_media_t *p_md,
* and this is here for convenience */
#define VLC_FORWARD_DECLARE_OBJECT(a) struct a
VLC_PUBLIC_API VLC_FORWARD_DECLARE_OBJECT(libvlc_media_list_t *)
LIBVLC_API VLC_FORWARD_DECLARE_OBJECT(libvlc_media_list_t *)
libvlc_media_subitems( libvlc_media_t *p_md );
/**
......@@ -405,7 +405,7 @@ libvlc_media_subitems( libvlc_media_t *p_md );
* \param p_md a media descriptor object
* \return event manager object
*/
VLC_PUBLIC_API libvlc_event_manager_t *
LIBVLC_API libvlc_event_manager_t *
libvlc_media_event_manager( libvlc_media_t *p_md );
/**
......@@ -414,7 +414,7 @@ VLC_PUBLIC_API libvlc_event_manager_t *
* \param p_md media descriptor object
* \return duration of media item or -1 on error
*/
VLC_PUBLIC_API libvlc_time_t
LIBVLC_API libvlc_time_t
libvlc_media_get_duration( libvlc_media_t *p_md );
/**
......@@ -429,7 +429,7 @@ VLC_PUBLIC_API libvlc_time_t
*
* \param p_md media descriptor object
*/
VLC_PUBLIC_API void
LIBVLC_API void
libvlc_media_parse( libvlc_media_t *p_md );
/**
......@@ -449,7 +449,7 @@ libvlc_media_parse( libvlc_media_t *p_md );
*
* \param p_md media descriptor object
*/
VLC_PUBLIC_API void
LIBVLC_API void
libvlc_media_parse_async( libvlc_media_t *p_md );
/**
......@@ -460,7 +460,7 @@ libvlc_media_parse_async( libvlc_media_t *p_md );
* \param p_md media descriptor object
* \return true if media object has been parsed otherwise it returns false
*/
VLC_PUBLIC_API int
LIBVLC_API int
libvlc_media_is_parsed( libvlc_media_t *p_md );
/**
......@@ -471,7 +471,7 @@ VLC_PUBLIC_API int
* \param p_md media descriptor object
* \param p_new_user_data pointer to user data
*/
VLC_PUBLIC_API void
LIBVLC_API void
libvlc_media_set_user_data( libvlc_media_t *p_md, void *p_new_user_data );
/**
......@@ -481,7 +481,7 @@ VLC_PUBLIC_API void
*
* \param p_md media descriptor object
*/
VLC_PUBLIC_API void *libvlc_media_get_user_data( libvlc_media_t *p_md );
LIBVLC_API void *libvlc_media_get_user_data( libvlc_media_t *p_md );
/**
* Get media descriptor's elementary streams description
......@@ -496,7 +496,7 @@ VLC_PUBLIC_API void *libvlc_media_get_user_data( libvlc_media_t *p_md );
*
* \return the number of Elementary Streams
*/
VLC_PUBLIC_API
LIBVLC_API
int libvlc_media_get_tracks_info( libvlc_media_t *p_md,
libvlc_media_track_info_t **tracks );
......
......@@ -54,7 +54,7 @@ typedef struct libvlc_media_discoverer_t libvlc_media_discoverer_t;
* \param psz_name service name
* \return media discover object or NULL in case of error
*/
VLC_PUBLIC_API libvlc_media_discoverer_t *
LIBVLC_API libvlc_media_discoverer_t *
libvlc_media_discoverer_new_from_name( libvlc_instance_t * p_inst,
const char * psz_name );
......@@ -64,7 +64,7 @@ libvlc_media_discoverer_new_from_name( libvlc_instance_t * p_inst,
*
* \param p_mdis media service discover object
*/
VLC_PUBLIC_API void libvlc_media_discoverer_release( libvlc_media_discoverer_t * p_mdis );
LIBVLC_API void libvlc_media_discoverer_release( libvlc_media_discoverer_t * p_mdis );
/**
* Get media service discover object its localized name.
......@@ -72,7 +72,7 @@ VLC_PUBLIC_API void libvlc_media_discoverer_release( libvlc_media_discoverer_t
* \param p_mdis media discover object
* \return localized name
*/
VLC_PUBLIC_API char * libvlc_media_discoverer_localized_name( libvlc_media_discoverer_t * p_mdis );
LIBVLC_API char * libvlc_media_discoverer_localized_name( libvlc_media_discoverer_t * p_mdis );
/**
* Get media service discover media list.
......@@ -80,7 +80,7 @@ VLC_PUBLIC_API char * libvlc_media_discoverer_localized_name( libvlc_media_disco
* \param p_mdis media service discover object
* \return list of media items
*/
VLC_PUBLIC_API libvlc_media_list_t * libvlc_media_discoverer_media_list( libvlc_media_discoverer_t * p_mdis );
LIBVLC_API libvlc_media_list_t * libvlc_media_discoverer_media_list( libvlc_media_discoverer_t * p_mdis );
/**
* Get event manager from media service discover object.
......@@ -88,7 +88,7 @@ VLC_PUBLIC_API libvlc_media_list_t * libvlc_media_discoverer_media_list( libvlc_
* \param p_mdis media service discover object
* \return event manager object.
*/