mirror of
https://github.com/videolan/vlc.git
synced 2024-11-24 18:33:38 +08:00
Remove ugly usage of vlc_symbols.h when building libvlc as a shared library
This commit is contained in:
parent
e9fb749afd
commit
66133677ac
@ -440,7 +440,7 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
|
||||
/*****************************************************************************
|
||||
* Plug-in stuff
|
||||
*****************************************************************************/
|
||||
#ifndef __PLUGIN__
|
||||
#if !defined (__PLUGIN__) || defined (HAVE_SHARED_LIBVLC)
|
||||
# define VLC_EXPORT( type, name, args ) type name args
|
||||
#else
|
||||
# define VLC_EXPORT( type, name, args ) struct _u_n_u_s_e_d_
|
||||
@ -1130,7 +1130,9 @@ VLC_EXPORT( const char *, VLC_Error, ( int ) );
|
||||
/*****************************************************************************
|
||||
* Additional vlc stuff
|
||||
*****************************************************************************/
|
||||
#include "vlc_symbols.h"
|
||||
#ifndef HAVE_SHARED_LIBVLC
|
||||
# include "vlc_symbols.h"
|
||||
#endif
|
||||
#include "os_specific.h"
|
||||
#include "vlc_messages.h"
|
||||
#include "variables.h"
|
||||
|
@ -7,474 +7,8 @@
|
||||
# define __VLC_SYMBOLS_H
|
||||
|
||||
# ifdef HAVE_SHARED_LIBVLC
|
||||
/*
|
||||
* In an ideal world, plugins would include all the headers they need.
|
||||
* But of course, many, if not all, of them don't, so we have to make sure
|
||||
* the whole libvlc API is defined here in any case when included from a
|
||||
* plugin.
|
||||
*/
|
||||
# ifdef __PLUGIN__
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
# endif
|
||||
char * config_GetHomeDir (void);
|
||||
int playlist_ItemDelete (playlist_item_t *);
|
||||
osd_state_t * __osd_StateChange (osd_state_t *, const int);
|
||||
int vlm_ScheduleSetup (vlm_schedule_t *, const char *, const char *);
|
||||
input_thread_t * __input_CreateThread2 (vlc_object_t *, input_item_t *, char *);
|
||||
vlc_acl_t * __ACL_Duplicate (vlc_object_t *p_this, const vlc_acl_t *p_acl);
|
||||
int osd_Slider (vlc_object_t *, spu_t *, int, int, int, int, short);
|
||||
int playlist_ServicesDiscoveryRemove (playlist_t *, const char *);
|
||||
int playlist_NodeDelete (playlist_t *, playlist_item_t *, vlc_bool_t , vlc_bool_t);
|
||||
void vlm_MediaDelete (vlm_t *, vlm_media_t *, const char *);
|
||||
int __var_Destroy (vlc_object_t *, const char *);
|
||||
int playlist_ItemSetDuration (playlist_item_t *, mtime_t);
|
||||
void aout_Delete (aout_instance_t *);
|
||||
void stats_ComputeInputStats (input_thread_t*, input_stats_t*);
|
||||
int playlist_Control (playlist_t *, int, ...);
|
||||
vlc_acl_t * __ACL_Create (vlc_object_t *p_this, vlc_bool_t b_allow);
|
||||
playlist_item_t * playlist_ItemGetByPos (playlist_t *, int);
|
||||
int playlist_Clear (playlist_t *);
|
||||
vout_thread_t * __vout_Create (vlc_object_t *, video_format_t *);
|
||||
void aout_FormatPrint (aout_instance_t * p_aout, const char * psz_text, const audio_sample_format_t * p_format);
|
||||
int utf8_stat (const char *filename, void *buf);
|
||||
void vlm_ScheduleDelete (vlm_t *, vlm_schedule_t *, const char *);
|
||||
void osd_ConfigUnload (vlc_object_t *, osd_menu_t **);
|
||||
void input_DecoderDelete (decoder_t *);
|
||||
void __msg_Info (vlc_object_t *, const char *, ... ) ATTRIBUTE_FORMAT( 2, 3);
|
||||
int playlist_ViewDump (playlist_t *, playlist_view_t *);
|
||||
int __net_Select (vlc_object_t *p_this, int *pi_fd, v_socket_t **, int i_fd, uint8_t *p_data, int i_data, mtime_t i_wait);
|
||||
aout_instance_t * __aout_New (vlc_object_t *);
|
||||
int utf8_lstat (const char *filename, void *buf);
|
||||
const char * VLC_Compiler (void);
|
||||
void vout_DatePicture (vout_thread_t *, picture_t *, mtime_t);
|
||||
int __var_Type (vlc_object_t *, const char *);
|
||||
int vlc_strncasecmp (const char *s1, const char *s2, size_t n);
|
||||
int vlc_getaddrinfo (vlc_object_t *, const char *, int, const struct addrinfo *, struct addrinfo **);
|
||||
void access2_Delete (access_t *);
|
||||
void vout_SynchroNewPicture (vout_synchro_t *, int, int, mtime_t, mtime_t, int, vlc_bool_t);
|
||||
int __vout_AllocatePicture (vlc_object_t *p_this, picture_t *p_pic, uint32_t i_chroma, int i_width, int i_height, int i_aspect);
|
||||
playlist_item_t * playlist_NodeCreate (playlist_t *,int,char *, playlist_item_t * p_parent);
|
||||
void * vlc_readdir (void *);
|
||||
int sout_AnnounceRegister (sout_instance_t *,session_descriptor_t*, announce_method_t*);
|
||||
void __var_OptionParse (vlc_object_t *, const char *);
|
||||
int osd_ShowTextRelative (spu_t *, int, char *, text_style_t *, int, int, int, mtime_t);
|
||||
void * __vlc_object_get (vlc_object_t *, int);
|
||||
void vout_SynchroTrash (vout_synchro_t *);
|
||||
picture_t * vout_CreatePicture (vout_thread_t *, vlc_bool_t, vlc_bool_t, unsigned int);
|
||||
void vout_SynchroEnd (vout_synchro_t *, int, vlc_bool_t);
|
||||
int playlist_ItemSetName (playlist_item_t *, char *);
|
||||
void __osd_MenuShow (vlc_object_t *);
|
||||
httpd_url_t * httpd_UrlNewUnique (httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl);
|
||||
void httpd_ClientModeStream (httpd_client_t *cl);
|
||||
int __stats_Create (vlc_object_t*, const char *, unsigned int, int, int);
|
||||
void httpd_RedirectDelete (httpd_redirect_t *);
|
||||
void __sout_CfgParse (vlc_object_t *, char *psz_prefix, const char **ppsz_options, sout_cfg_t *);
|
||||
vlm_media_t * vlm_MediaNew (vlm_t *, const char *, int);
|
||||
int playlist_LockItemToNode (playlist_t *,playlist_item_t *);
|
||||
void spu_Destroy (spu_t *);
|
||||
int osd_Icon (vlc_object_t *, spu_t *, int, int, int, short);
|
||||
char* httpd_ServerIP (httpd_client_t *cl, char *psz_ip);
|
||||
int __net_ConnectUDP (vlc_object_t *p_this, const char *psz_host, int i_port, int hlim);
|
||||
void * utf8_opendir (const char *dirname);
|
||||
int spu_Init (spu_t *);
|
||||
void httpd_HostDelete (httpd_host_t *);
|
||||
int __aout_VolumeGet (vlc_object_t *, audio_volume_t *);
|
||||
void spu_DestroySubpicture (spu_t *, subpicture_t *);
|
||||
int aout_CheckChannelReorder (const uint32_t *, const uint32_t *, uint32_t, int, int *);
|
||||
void stream_DemuxSend (stream_t *s, block_t *p_block);
|
||||
void __intf_UserHide (vlc_object_t *, int);
|
||||
int __config_LoadConfigFile (vlc_object_t *, const char *);
|
||||
int vlc_asprintf (char **, const char *, ...);
|
||||
int __var_Change (vlc_object_t *, const char *, int, vlc_value_t *, vlc_value_t *);
|
||||
update_iterator_t * update_iterator_New (update_t *);
|
||||
int playlist_Disable (playlist_t *, playlist_item_t *);
|
||||
char * vlc_input_item_GetInfo (input_item_t *p_i, const char *psz_cat,const char *psz_name);
|
||||
int vout_VarCallback (vlc_object_t *, const char *, vlc_value_t, vlc_value_t, void *);
|
||||
session_descriptor_t* sout_AnnounceSessionCreate (void);
|
||||
void __osd_Volume (vlc_object_t *);
|
||||
int vlc_vasprintf (char **, const char *, va_list);
|
||||
int playlist_Sort (playlist_t *, int, int);
|
||||
void update_Check (update_t *, vlc_bool_t);
|
||||
int aout_DecDelete (aout_instance_t *, aout_input_t *);
|
||||
int vlc_strcasecmp (const char *s1, const char *s2);
|
||||
sout_packetizer_input_t * sout_InputNew (sout_instance_t *, es_format_t *);
|
||||
char * secstotimestr (char *psz_buffer, int secs);
|
||||
int playlist_NodeInsert (playlist_t *,int,playlist_item_t*,playlist_item_t *, int);
|
||||
void tls_ClientDelete (tls_session_t *);
|
||||
void msleep (mtime_t delay);
|
||||
const char * VLC_Error (int);
|
||||
sout_access_out_t * sout_AccessOutNew (sout_instance_t *, char *psz_access, char *psz_name);
|
||||
int playlist_Replace (playlist_t *,playlist_item_t *, input_item_t*);
|
||||
int __config_LoadCmdLine (vlc_object_t *, int *, char *[], vlc_bool_t);
|
||||
void __config_PutInt (vlc_object_t *, const char *, int);
|
||||
vlm_t * __vlm_New (vlc_object_t *);
|
||||
int __input_Preparse (vlc_object_t *, input_item_t *);
|
||||
int utf8_mkdir (const char *filename);
|
||||
int vlc_input_item_AddInfo (input_item_t *p_i, const char *psz_cat, const char *psz_name, const char *psz_format, ...);
|
||||
void __msg_Unsubscribe (vlc_object_t *, msg_subscription_t *);
|
||||
void aout_DateSet (audio_date_t *, mtime_t);
|
||||
char * FromLocale (const char *);
|
||||
int playlist_ViewInsert (playlist_t *, int, char *);
|
||||
char * __vlc_fix_readdir_charset (vlc_object_t *, const char *);
|
||||
int __config_GetInt (vlc_object_t *, const char *);
|
||||
void input_DecoderDecode (decoder_t *, block_t *);
|
||||
void * vout_RequestWindow (vout_thread_t *, int *, int *, unsigned int *, unsigned int *);
|
||||
char * vlc_getenv (const char *name);
|
||||
block_t * block_FifoShow (block_fifo_t *);
|
||||
void sout_MuxSendBuffer (sout_mux_t *, sout_input_t *, block_t *);
|
||||
void __osd_MenuNext (vlc_object_t *);
|
||||
void vlm_MessageDelete (vlm_message_t *);
|
||||
void vout_SynchroDecode (vout_synchro_t *);
|
||||
int playlist_Delete (playlist_t *, int);
|
||||
void aout_FiltersPlay (aout_instance_t * p_aout, aout_filter_t ** pp_filters, int i_nb_filters, aout_buffer_t ** pp_input_buffer);
|
||||
int __stats_Update (vlc_object_t*, unsigned int, vlc_value_t, vlc_value_t *);
|
||||
int __stats_Get (vlc_object_t*, int, unsigned int, vlc_value_t*);
|
||||
char* httpd_ClientIP (httpd_client_t *cl, char *psz_ip);
|
||||
int __intf_UserProgress (vlc_object_t*, const char*, const char*, float);
|
||||
void httpd_FileDelete (httpd_file_t *);
|
||||
module_t * __module_Need (vlc_object_t *, const char *, const char *, vlc_bool_t);
|
||||
const char * VLC_Changeset (void);
|
||||
void intf_InteractionDestroy (interaction_t *);
|
||||
void LocaleFree (const char *);
|
||||
void __vlc_object_attach (vlc_object_t *, vlc_object_t *);
|
||||
stream_t * __stream_UrlNew (vlc_object_t *p_this, const char *psz_url);
|
||||
sout_mux_t * sout_MuxNew (sout_instance_t*, char *, sout_access_out_t *);
|
||||
stream_t * __stream_DemuxNew (vlc_object_t *p_obj, char *psz_demux, es_out_t *out);
|
||||
int vout_ShowTextRelative (vout_thread_t *, int, char *, text_style_t *, int, int, int, mtime_t);
|
||||
unsigned int update_iterator_Action (update_iterator_t *, int);
|
||||
void __stats_TimerDump (vlc_object_t*, unsigned int);
|
||||
int block_FifoPut (block_fifo_t *, block_t *);
|
||||
int playlist_ItemAddParent (playlist_item_t *, int,playlist_item_t *);
|
||||
int __var_Create (vlc_object_t *, const char *, int);
|
||||
void httpd_ClientModeBidir (httpd_client_t *cl);
|
||||
mtime_t mdate (void);
|
||||
void demux2_Delete (demux_t *);
|
||||
void __msg_Dbg (vlc_object_t *, const char *, ... ) ATTRIBUTE_FORMAT( 2, 3);
|
||||
int vlc_getnameinfo (const struct sockaddr *, int, char *, int, int *, int);
|
||||
int vlm_ExecuteCommand (vlm_t *, const char *, vlm_message_t **);
|
||||
char * config_GetUserDir (void);
|
||||
httpd_stream_t * httpd_StreamNew (httpd_host_t *, const char *psz_url, const char *psz_mime, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl);
|
||||
counter_t* __stats_CounterGet (vlc_object_t*, int, unsigned int);
|
||||
int __config_GetType (vlc_object_t *, const char *);
|
||||
void __vlc_thread_ready (vlc_object_t *);
|
||||
int playlist_Export (playlist_t *, const char *, const char *);
|
||||
demux_t * __demux2_New (vlc_object_t *p_obj, char *psz_access, char *psz_demux, char *psz_path, stream_t *s, es_out_t *out, vlc_bool_t);
|
||||
int __vlc_threads_end (vlc_object_t *);
|
||||
int sout_AccessOutRead (sout_access_out_t *, block_t *);
|
||||
int __intf_UserLoginPassword (vlc_object_t*, const char*, const char*, char **, char **);
|
||||
int demux2_vaControlHelper (stream_t *, int64_t i_start, int64_t i_end, int i_bitrate, int i_align, int i_query, va_list args);
|
||||
int httpd_UrlCatch (httpd_url_t *, int i_msg, httpd_callback_t, httpd_callback_sys_t *);
|
||||
void __vlc_object_yield (vlc_object_t *);
|
||||
const char * VLC_CompileBy (void);
|
||||
playlist_item_t * playlist_LockItemGetByPos (playlist_t *, int);
|
||||
void update_Delete (update_t *);
|
||||
input_thread_t * __input_CreateThread (vlc_object_t *, input_item_t *);
|
||||
const char * DecodeLanguage (uint16_t);
|
||||
int __aout_VolumeSet (vlc_object_t *, audio_volume_t);
|
||||
void InitMD5 (struct md5_s *);
|
||||
mtime_t aout_DateIncrement (audio_date_t *, uint32_t);
|
||||
int __net_Write (vlc_object_t *p_this, int fd, v_socket_t *, const uint8_t *p_data, int i_data);
|
||||
int playlist_GetPositionById (playlist_t *,int);
|
||||
int vlc_iconv_close (vlc_iconv_t);
|
||||
int * __net_ListenTCP (vlc_object_t *, const char *, int);
|
||||
void EndMD5 (struct md5_s *);
|
||||
tls_server_t * tls_ServerCreate (vlc_object_t *, const char *, const char *);
|
||||
int vlm_MediaSetup (vlm_t *, vlm_media_t *, const char *, const char *);
|
||||
void sout_StreamDelete (sout_stream_t *);
|
||||
int vout_ShowTextAbsolute (vout_thread_t *, int, char *, text_style_t *, int, int, int, mtime_t, mtime_t);
|
||||
void __osd_MenuDelete (vlc_object_t *, osd_menu_t *);
|
||||
int sout_AnnounceUnRegister (sout_instance_t *,session_descriptor_t*);
|
||||
vlc_bool_t vlc_ureduce (unsigned *, unsigned *, uint64_t, uint64_t, uint64_t);
|
||||
httpd_host_t * httpd_HostNew (vlc_object_t *, const char *psz_host, int i_port);
|
||||
char * vlc_strcasestr (const char *s1, const char *s2);
|
||||
httpd_file_t * httpd_FileNew (httpd_host_t *, const char *psz_url, const char *psz_mime, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl, httpd_file_callback_t pf_fill, httpd_file_sys_t *);
|
||||
void vlc_freeaddrinfo (struct addrinfo *);
|
||||
void vlm_Delete (vlm_t *);
|
||||
void httpd_HandlerDelete (httpd_handler_t *);
|
||||
void vout_DisplayPicture (vout_thread_t *, picture_t *);
|
||||
void httpd_MsgClean (httpd_message_t *);
|
||||
int vout_ControlWindow (vout_thread_t *, void *, int, va_list);
|
||||
int playlist_NodeChildrenCount (playlist_t *,playlist_item_t*);
|
||||
size_t vlc_iconv (vlc_iconv_t, char **, size_t *, char **, size_t *);
|
||||
int playlist_Enable (playlist_t *, playlist_item_t *);
|
||||
playlist_item_t* __playlist_ItemCopy (vlc_object_t *,playlist_item_t*);
|
||||
char * vlc_strdup (const char *s);
|
||||
playlist_item_t* __playlist_ItemNew (vlc_object_t *,const char *,const char *);
|
||||
int __var_Get (vlc_object_t *, const char *, vlc_value_t *);
|
||||
void tls_ServerDelete (tls_server_t *);
|
||||
unsigned int aout_FormatNbChannels (const audio_sample_format_t * p_format);
|
||||
int __vlc_mutex_destroy (char *, int, vlc_mutex_t *);
|
||||
vlc_bool_t playlist_IsServicesDiscoveryLoaded (playlist_t *,const char *);
|
||||
int vlm_Save (vlm_t *, const char *);
|
||||
int ACL_AddNet (vlc_acl_t *p_acl, const char *psz_ip, int i_len, vlc_bool_t b_allow);
|
||||
void AddMD5 (struct md5_s *, const uint8_t *, uint32_t);
|
||||
void config_Duplicate (module_t *, module_config_t *);
|
||||
void __stats_TimerStart (vlc_object_t*, const char *, unsigned int);
|
||||
block_t * __block_New (vlc_object_t *, int);
|
||||
void xml_Delete (xml_t *);
|
||||
void __msg_Warn (vlc_object_t *, const char *, ... ) ATTRIBUTE_FORMAT( 2, 3);
|
||||
httpd_host_t * httpd_TLSHostNew (vlc_object_t *, const char *, int, const char *, const char *, const char *, const char *);
|
||||
int vlc_scandir (const char *name, struct dirent ***namelist, int (*filter) ( const struct dirent * ), int (*compar) ( const struct dirent **, const struct dirent ** ));
|
||||
int sout_AccessOutWrite (sout_access_out_t *, block_t *);
|
||||
struct dirent * vlc_readdir_wrapper (void *);
|
||||
void config_UnsetCallbacks (module_config_t *);
|
||||
void vout_SynchroRelease (vout_synchro_t *);
|
||||
void __intf_UserProgressUpdate (vlc_object_t*, int, const char*, float);
|
||||
void __msg_Generic (vlc_object_t *, int, int, const char *, const char *, ... ) ATTRIBUTE_FORMAT( 5, 6);
|
||||
int vlc_closedir_wrapper (void *);
|
||||
int playlist_ServicesDiscoveryAdd (playlist_t *, const char *);
|
||||
char * FromLocaleDup (const char *);
|
||||
void __stats_ComputeGlobalStats (vlc_object_t*,global_stats_t*);
|
||||
char * vlc_strndup (const char *s, size_t n);
|
||||
void vout_PlacePicture (vout_thread_t *, unsigned int, unsigned int, unsigned int *, unsigned int *, unsigned int *, unsigned int *);
|
||||
float __config_GetFloat (vlc_object_t *, const char *);
|
||||
void update_iterator_Delete (update_iterator_t *);
|
||||
playlist_item_t * playlist_ItemGetById (playlist_t *, int);
|
||||
const char * vlc_gai_strerror (int);
|
||||
void net_ListenClose (int *fd);
|
||||
int __vlc_execve (vlc_object_t *p_object, int i_argc, char **pp_argv, char **pp_env, char *psz_cwd, char *p_in, int i_in, char **pp_data, int *pi_data);
|
||||
int playlist_NodeAppend (playlist_t *,int,playlist_item_t*,playlist_item_t *);
|
||||
const iso639_lang_t * GetLang_2B (const char *);
|
||||
void sout_AccessOutDelete (sout_access_out_t *);
|
||||
int httpd_StreamHeader (httpd_stream_t *, uint8_t *p_data, int i_data);
|
||||
void __config_PutFloat (vlc_object_t *, const char *, float);
|
||||
void vout_OSDIcon (vlc_object_t *, int, short);
|
||||
void __vlc_thread_join (vlc_object_t *, char *, int);
|
||||
void __vlc_object_release (vlc_object_t *);
|
||||
int __var_Set (vlc_object_t *, const char *, vlc_value_t);
|
||||
void vout_LinkPicture (vout_thread_t *, picture_t *);
|
||||
void vout_DestroyPicture (vout_thread_t *, picture_t *);
|
||||
int __net_ConnectTCP (vlc_object_t *p_this, const char *psz_host, int i_port);
|
||||
int64_t vlc_strtoll (const char *nptr, char **endptr, int base);
|
||||
void __osd_MenuHide (vlc_object_t *);
|
||||
subpicture_region_t * __spu_MakeRegion (vlc_object_t *, video_format_t *, picture_t *);
|
||||
void sout_AnnounceSessionDestroy (session_descriptor_t *);
|
||||
subpicture_region_t * __spu_CreateRegion (vlc_object_t *, video_format_t *);
|
||||
int playlist_AddSDModules (playlist_t *, char *);
|
||||
void vout_Destroy (vout_thread_t *);
|
||||
block_fifo_t * __block_FifoNew (vlc_object_t *);
|
||||
int playlist_NodeSort (playlist_t *, playlist_item_t *,int, int);
|
||||
int osd_ConfigLoader (vlc_object_t *, const char *, osd_menu_t **);
|
||||
int aout_Restart (aout_instance_t * p_aout);
|
||||
void * __vlc_object_create (vlc_object_t *, int);
|
||||
int __aout_VolumeInfos (vlc_object_t *, audio_volume_t *);
|
||||
void stats_DumpInputStats (input_stats_t *);
|
||||
int __intf_Interact (vlc_object_t *,interaction_dialog_t *);
|
||||
const iso639_lang_t * GetLang_2T (const char *);
|
||||
int playlist_NodeAddItem (playlist_t *, playlist_item_t *,int,playlist_item_t *,int , int);
|
||||
int __aout_VolumeMute (vlc_object_t *, audio_volume_t *);
|
||||
const char * VLC_CompileDomain (void);
|
||||
void input_DestroyThread (input_thread_t *);
|
||||
int playlist_LockControl (playlist_t *, int, ...);
|
||||
vlc_bool_t vlc_current_charset (char **);
|
||||
char * __net_Gets (vlc_object_t *p_this, int fd, v_socket_t *);
|
||||
void aout_DateMove (audio_date_t *, mtime_t);
|
||||
void stats_ReinitInputStats (input_stats_t *);
|
||||
void sout_MuxDelete (sout_mux_t *);
|
||||
void vout_InitFormat (video_frame_format_t *, uint32_t, int, int, int);
|
||||
void vout_UnlinkPicture (vout_thread_t *, picture_t *);
|
||||
const char * aout_FormatPrintChannels (const audio_sample_format_t *);
|
||||
char * __config_GetPsz (vlc_object_t *, const char *);
|
||||
void httpd_StreamDelete (httpd_stream_t *);
|
||||
image_handler_t * __image_HandlerCreate (vlc_object_t *);
|
||||
void vout_OSDSlider (vlc_object_t *, int, int , short);
|
||||
aout_buffer_t * aout_DecNewBuffer (aout_instance_t *, aout_input_t *, size_t);
|
||||
int vout_ChromaCmp (uint32_t, uint32_t);
|
||||
int sout_InputDelete (sout_packetizer_input_t *);
|
||||
int playlist_Import (playlist_t *, const char *);
|
||||
access_t * access2_FilterNew (access_t *p_source, char *psz_access_filter);
|
||||
const char * VLC_CompileHost (void);
|
||||
httpd_url_t * httpd_UrlNew (httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl);
|
||||
int __vlc_thread_create (vlc_object_t *, char *, int, char *, void * ( * ) ( void * ), int, vlc_bool_t);
|
||||
void __module_Unneed (vlc_object_t *, module_t *);
|
||||
int net_Printf (vlc_object_t *p_this, int fd, v_socket_t *, const char *psz_fmt, ...);
|
||||
int __vlc_thread_set_priority (vlc_object_t *, char *, int, int);
|
||||
int ACL_LoadFile (vlc_acl_t *p_acl, const char *path);
|
||||
void input_StopThread (input_thread_t *);
|
||||
int __input_Read (vlc_object_t *, input_item_t *, vlc_bool_t);
|
||||
intf_thread_t * __intf_Create (vlc_object_t *, const char *, int, char **);
|
||||
void aout_ChannelReorder (uint8_t *, int, int, const int *, int);
|
||||
int __var_DelCallback (vlc_object_t *, const char *, vlc_callback_t, void *);
|
||||
void __vlc_object_detach (vlc_object_t *);
|
||||
int aout_FindAndRestart (vlc_object_t *, const char *, vlc_value_t, vlc_value_t, void *);
|
||||
int sout_InputSendBuffer (sout_packetizer_input_t *, block_t*);
|
||||
vlc_t * vlc_current_object (int);
|
||||
int __config_SaveConfigFile (vlc_object_t *, const char *);
|
||||
int ACL_Check (vlc_acl_t *p_acl, const char *psz_ip);
|
||||
void aout_DecDeleteBuffer (aout_instance_t *, aout_input_t *, aout_buffer_t *);
|
||||
access_t * __access2_New (vlc_object_t *p_obj, char *psz_access, char *psz_demux, char *psz_path, vlc_bool_t b_quick);
|
||||
tls_session_t * tls_ClientCreate (vlc_object_t *, int, const char *);
|
||||
void intf_Destroy (intf_thread_t *);
|
||||
void spu_RenderSubpictures (spu_t *, video_format_t *, picture_t *, picture_t *, subpicture_t *, int, int);
|
||||
void __msg_Err (vlc_object_t *, const char *, ... ) ATTRIBUTE_FORMAT( 2, 3);
|
||||
void __spu_DestroyRegion (vlc_object_t *, subpicture_region_t *);
|
||||
int playlist_ItemAdd (playlist_t *, playlist_item_t *, int, int);
|
||||
aout_buffer_t * aout_OutputNextBuffer (aout_instance_t *, mtime_t, vlc_bool_t);
|
||||
int playlist_LockReplace (playlist_t *,playlist_item_t *, input_item_t*);
|
||||
FILE * utf8_fopen (const char *filename, const char *mode);
|
||||
int __intf_Eject (vlc_object_t *, const char *);
|
||||
void vlc_HashInsert (hashtable_entry_t **, int *, int, const char *, void *);
|
||||
int input_Control (input_thread_t *, int i_query, ...);
|
||||
int __aout_VolumeUp (vlc_object_t *, int, audio_volume_t *);
|
||||
void osd_Message (spu_t *, int, char *, ...);
|
||||
vout_thread_t * __vout_Request (vlc_object_t *, vout_thread_t *, video_format_t *);
|
||||
void __osd_MenuUp (vlc_object_t *);
|
||||
int __aout_VolumeDown (vlc_object_t *, int, audio_volume_t *);
|
||||
sout_instance_t * __sout_NewInstance (vlc_object_t *, char *);
|
||||
subpicture_t * spu_CreateSubpicture (spu_t *);
|
||||
int vlc_HashLookup (hashtable_entry_t *, int, int, const char *);
|
||||
void httpd_MsgAdd (httpd_message_t *, char *psz_name, char *psz_value, ...);
|
||||
int vout_vaControlDefault (vout_thread_t *, int, va_list);
|
||||
int playlist_NodeEmpty (playlist_t *, playlist_item_t *, vlc_bool_t);
|
||||
void __intf_UserFatal (vlc_object_t*, const char*, const char*, ...);
|
||||
spu_t * __spu_Create (vlc_object_t *);
|
||||
int playlist_NodeRemoveItem (playlist_t *,playlist_item_t*,playlist_item_t *);
|
||||
int __net_Accept (vlc_object_t *, int *, mtime_t);
|
||||
void ACL_Destroy (vlc_acl_t *p_acl);
|
||||
void vout_ReleaseWindow (vout_thread_t *, void *);
|
||||
void __osd_MenuDown (vlc_object_t *);
|
||||
int playlist_ViewDelete (playlist_t *,playlist_view_t*);
|
||||
void vout_SynchroReset (vout_synchro_t *);
|
||||
void date_Change (date_t *, uint32_t, uint32_t);
|
||||
int playlist_LockDelete (playlist_t *, int);
|
||||
mtime_t vout_SynchroDate (vout_synchro_t *);
|
||||
int __var_AddCallback (vlc_object_t *, const char *, vlc_callback_t, void *);
|
||||
void httpd_MsgInit (httpd_message_t *);
|
||||
char * EnsureUTF8 (char *);
|
||||
block_t * block_FifoGet (block_fifo_t *);
|
||||
mtime_t date_Increment (date_t *, uint32_t);
|
||||
int playlist_Add (playlist_t *, const char *, const char *, int, int);
|
||||
char * sout_CfgCreate (char **, sout_cfg_t **, char *);
|
||||
void stats_HandlerDestroy (stats_handler_t*);
|
||||
osd_menu_t * __osd_MenuCreate (vlc_object_t *, const char *);
|
||||
void * vlc_opendir (const char *);
|
||||
int playlist_NodeRemoveParent (playlist_t *,playlist_item_t*,playlist_item_t *);
|
||||
char ** vlc_parse_cmdline (const char *, int *);
|
||||
int __vlc_cond_init (vlc_object_t *, vlc_cond_t *);
|
||||
int __net_OpenUDP (vlc_object_t *p_this, const char *psz_bind, int i_bind, const char *psz_server, int i_server);
|
||||
vlc_iconv_t vlc_iconv_open (const char *, const char *);
|
||||
int playlist_PreparseEnqueue (playlist_t *, input_item_t *);
|
||||
aout_buffer_t * aout_FifoPop (aout_instance_t * p_aout, aout_fifo_t * p_fifo);
|
||||
int __vout_InitPicture (vlc_object_t *p_this, picture_t *p_pic, uint32_t i_chroma, int i_width, int i_height, int i_aspect);
|
||||
int playlist_LockClear (playlist_t *);
|
||||
unsigned int update_iterator_ChooseMirrorAndFile (update_iterator_t *, int, int, int);
|
||||
void intf_InteractionManage (playlist_t *);
|
||||
char * mstrtime (char *psz_buffer, mtime_t date);
|
||||
void aout_FormatPrepare (audio_sample_format_t * p_format);
|
||||
vlm_media_t* vlm_MediaSearch (vlm_t *, const char *);
|
||||
void spu_DisplaySubpicture (spu_t *, subpicture_t *);
|
||||
int intf_RunThread (intf_thread_t *);
|
||||
decoder_t * input_DecoderNew (input_thread_t *, es_format_t *, vlc_bool_t b_force_decoder);
|
||||
int httpd_StreamSend (httpd_stream_t *, uint8_t *p_data, int i_data);
|
||||
xml_t * __xml_Create (vlc_object_t *);
|
||||
void* vlc_HashRetrieve (hashtable_entry_t*, int, int, const char *);
|
||||
msg_subscription_t* __msg_Subscribe (vlc_object_t *, int);
|
||||
const char * VLC_Version (void);
|
||||
session_descriptor_t* sout_AnnounceRegisterSDP (sout_instance_t *,const char *, const char *, announce_method_t*);
|
||||
update_t * __update_New (vlc_object_t *);
|
||||
char * stream_ReadLine (stream_t *);
|
||||
int playlist_PreparseEnqueueItem (playlist_t *, playlist_item_t *);
|
||||
void __osd_MenuPrev (vlc_object_t *);
|
||||
void date_Set (date_t *, mtime_t);
|
||||
module_t * config_FindModule (vlc_object_t *, const char *);
|
||||
void aout_VolumeSoftInit (aout_instance_t *);
|
||||
void block_FifoRelease (block_fifo_t *);
|
||||
void block_FifoEmpty (block_fifo_t *);
|
||||
void update_download (update_iterator_t *, char *);
|
||||
int playlist_ItemAddOption (playlist_item_t *, const char *);
|
||||
void aout_VolumeNoneInit (aout_instance_t *);
|
||||
void aout_DateInit (audio_date_t *, uint32_t);
|
||||
void * vlc_opendir_wrapper (const char *);
|
||||
void vlc_list_release (vlc_list_t *);
|
||||
subpicture_t * spu_SortSubpictures (spu_t *, mtime_t);
|
||||
playlist_item_t * playlist_LockItemGetByInput (playlist_t *,input_item_t *);
|
||||
int __net_vaPrintf (vlc_object_t *p_this, int fd, v_socket_t *, const char *psz_fmt, va_list args);
|
||||
int vlm_MediaControl (vlm_t *, vlm_media_t *, const char *, const char *, const char *);
|
||||
void __stats_TimersDumpAll (vlc_object_t*);
|
||||
vlc_bool_t vout_SynchroChoose (vout_synchro_t *, int, int, vlc_bool_t);
|
||||
int playlist_RecursiveNodeSort (playlist_t *, playlist_item_t *,int, int);
|
||||
int64_t vlc_atoll (const char *nptr);
|
||||
int vlm_MediaVodControl (void *, vod_media_t *, const char *, int, va_list);
|
||||
void __vlc_object_destroy (vlc_object_t *);
|
||||
int sout_AccessOutSeek (sout_access_out_t *, off_t);
|
||||
double vlc_atof (const char *nptr);
|
||||
void httpd_UrlDelete (httpd_url_t *);
|
||||
int __vlc_mutex_init (vlc_object_t *, vlc_mutex_t *);
|
||||
int __net_ReadNonBlock (vlc_object_t *p_this, int fd, v_socket_t *, uint8_t *p_data, int i_data, mtime_t i_wait);
|
||||
playlist_view_t * playlist_ViewFind (playlist_t *, int);
|
||||
module_config_t * config_FindConfig (vlc_object_t *, const char *);
|
||||
playlist_item_t * playlist_ItemGetByInput (playlist_t *,input_item_t *);
|
||||
void config_SetCallbacks (module_config_t *, module_config_t *);
|
||||
int __vlc_cond_destroy (char *, int, vlc_cond_t *);
|
||||
httpd_handler_t * httpd_HandlerNew (httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl, httpd_handler_callback_t pf_fill, httpd_handler_sys_t *);
|
||||
vlc_list_t * __vlc_list_find (vlc_object_t *, int, int);
|
||||
char * ToLocale (const char *);
|
||||
int vlm_Load (vlm_t *, const char *);
|
||||
int aout_FiltersCreatePipeline (aout_instance_t * p_aout, aout_filter_t ** pp_filters, int * pi_nb_filters, const audio_sample_format_t * p_input_format, const audio_sample_format_t * p_output_format);
|
||||
playlist_item_t * playlist_ChildSearchName (playlist_item_t*, const char*);
|
||||
void __msg_GenericVa (vlc_object_t *, int, int, const char *, const char *, va_list args);
|
||||
int aout_ChannelsRestart (vlc_object_t *, const char *, vlc_value_t, vlc_value_t, void *);
|
||||
char const * vlc_error (int);
|
||||
int playlist_NodeGroup (playlist_t *, int,playlist_item_t *,playlist_item_t **,int, int, int);
|
||||
playlist_item_t* playlist_ItemNewWithType (vlc_object_t *,const char *,const char *, int);
|
||||
void __config_PutPsz (vlc_object_t *, const char *, const char *);
|
||||
vlm_schedule_t * vlm_ScheduleNew (vlm_t *, const char *);
|
||||
int osd_ShowTextAbsolute (spu_t *, int, char *, text_style_t *, int, int, int, mtime_t, mtime_t);
|
||||
void net_Close (int fd);
|
||||
int __vlc_threads_init (vlc_object_t *);
|
||||
int __intf_UserYesNo (vlc_object_t*, const char*, const char*);
|
||||
void __vout_CopyPicture (vlc_object_t *p_this, picture_t *p_dst, picture_t *p_src);
|
||||
void sout_MuxDeleteStream (sout_mux_t *, sout_input_t *);
|
||||
char * httpd_MsgGet (httpd_message_t *, char *psz_name);
|
||||
const iso639_lang_t * GetLang_1 (const char *);
|
||||
void aout_FormatsPrint (aout_instance_t * p_aout, const char * psz_text, const audio_sample_format_t * p_format1, const audio_sample_format_t * p_format2);
|
||||
char * FromUTF32 (const wchar_t *);
|
||||
void __vout_OSDMessage (vlc_object_t *, int, char *, ...);
|
||||
void intf_StopThread (intf_thread_t *);
|
||||
void __stats_TimerStop (vlc_object_t*, unsigned int);
|
||||
stream_t * __stream_MemoryNew (vlc_object_t *p_obj, uint8_t *p_buffer, int64_t i_size, vlc_bool_t i_preserve_memory);
|
||||
void mwait (mtime_t date);
|
||||
void __config_ResetAll (vlc_object_t *);
|
||||
httpd_redirect_t * httpd_RedirectNew (httpd_host_t *, const char *psz_url_dst, const char *psz_url_src);
|
||||
playlist_item_t * playlist_LockItemGetById (playlist_t *, int);
|
||||
mtime_t date_Get (const date_t *);
|
||||
int input_vaControl (input_thread_t *, int i_query, va_list);
|
||||
int aout_DecPlay (aout_instance_t *, aout_input_t *, aout_buffer_t *);
|
||||
mtime_t aout_FifoFirstDate (aout_instance_t *, aout_fifo_t *);
|
||||
vout_synchro_t * __vout_SynchroInit (vlc_object_t *, int);
|
||||
int vlc_alphasort (const struct dirent **a, const struct dirent **b);
|
||||
mtime_t aout_DateGet (const audio_date_t *);
|
||||
int playlist_CopyParents (playlist_item_t *,playlist_item_t *);
|
||||
int playlist_Move (playlist_t *, int, int);
|
||||
void date_Init (date_t *, uint32_t, uint32_t);
|
||||
void DigestMD5 (struct md5_s *, uint32_t *);
|
||||
void image_HandlerDelete (image_handler_t *);
|
||||
int __net_Read (vlc_object_t *p_this, int fd, v_socket_t *, uint8_t *p_data, int i_data, vlc_bool_t b_retry);
|
||||
char * vlc_dgettext (const char *package, const char *msgid);
|
||||
void sout_DeleteInstance (sout_instance_t *);
|
||||
int playlist_ItemToNode (playlist_t *,playlist_item_t *);
|
||||
void stream_DemuxDelete (stream_t *s);
|
||||
aout_input_t * __aout_DecNew (vlc_object_t *, aout_instance_t **, audio_sample_format_t *);
|
||||
int playlist_AddExt (playlist_t *, const char *, const char *, int, int, mtime_t, const char **,int);
|
||||
void date_Move (date_t *, mtime_t);
|
||||
int vlc_closedir (void *);
|
||||
void aout_FiltersDestroyPipeline (aout_instance_t * p_aout, aout_filter_t ** pp_filters, int i_nb_filters);
|
||||
void * __vlc_object_find (vlc_object_t *, int, int);
|
||||
const char * utf8_readdir (void *dir);
|
||||
announce_method_t* sout_AnnounceMethodCreate (int);
|
||||
sout_input_t * sout_MuxAddStream (sout_mux_t *, es_format_t *);
|
||||
void __osd_MenuActivate (vlc_object_t *);
|
||||
sout_stream_t * sout_StreamNew (sout_instance_t *, char *psz_chain);
|
||||
int playlist_ViewEmpty (playlist_t *, int, vlc_bool_t);
|
||||
block_t * block_Realloc (block_t *, int i_pre, int i_body);
|
||||
char * vlc_wraptext (const char *, int, vlc_bool_t);
|
||||
int playlist_ViewUpdate (playlist_t *, int);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
# endif /* __PLUGIN__ */
|
||||
# else /* HAVE_LIBVLC_SHARED */
|
||||
# error You are not supposed to include this file!
|
||||
# endif
|
||||
/*
|
||||
* This is the big VLC API structure for plugins :
|
||||
* Changing its layout breaks plugin's binary compatibility,
|
||||
@ -942,7 +476,7 @@ struct module_symbols_t
|
||||
int (*utf8_mkdir_inner) (const char *filename);
|
||||
vlm_media_t* (*vlm_MediaSearch_inner) (vlm_t *, const char *);
|
||||
};
|
||||
# if defined (__PLUGIN__)
|
||||
# if defined (__PLUGIN__)
|
||||
# define aout_FiltersCreatePipeline (p_symbols)->aout_FiltersCreatePipeline_inner
|
||||
# define aout_FiltersDestroyPipeline (p_symbols)->aout_FiltersDestroyPipeline_inner
|
||||
# define aout_FiltersPlay (p_symbols)->aout_FiltersPlay_inner
|
||||
@ -1396,11 +930,11 @@ struct module_symbols_t
|
||||
# define FromLocaleDup (p_symbols)->FromLocaleDup_inner
|
||||
# define utf8_mkdir (p_symbols)->utf8_mkdir_inner
|
||||
# define vlm_MediaSearch (p_symbols)->vlm_MediaSearch_inner
|
||||
# elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__)
|
||||
# elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__)
|
||||
/******************************************************************
|
||||
* STORE_SYMBOLS: store VLC APIs into p_symbols for plugin access.
|
||||
******************************************************************/
|
||||
# define STORE_SYMBOLS( p_symbols ) \
|
||||
# define STORE_SYMBOLS( p_symbols ) \
|
||||
((p_symbols)->aout_FiltersCreatePipeline_inner) = aout_FiltersCreatePipeline; \
|
||||
((p_symbols)->aout_FiltersDestroyPipeline_inner) = aout_FiltersDestroyPipeline; \
|
||||
((p_symbols)->aout_FiltersPlay_inner) = aout_FiltersPlay; \
|
||||
@ -1858,6 +1392,5 @@ struct module_symbols_t
|
||||
(p_symbols)->__stats_CounterGet_deprecated = NULL; \
|
||||
(p_symbols)->__stats_TimerDumpAll_deprecated = NULL; \
|
||||
|
||||
# endif /* __PLUGIN__ */
|
||||
# endif /* HAVE_SHARED_LIBVLC */
|
||||
# endif /* __PLUGIN__ */
|
||||
#endif /* __VLC_SYMBOLS_H */
|
||||
|
34
vlc-api.pl
34
vlc-api.pl
@ -55,29 +55,8 @@ print { $new_sym }
|
||||
"# define __VLC_SYMBOLS_H\n".
|
||||
"\n".
|
||||
"# ifdef HAVE_SHARED_LIBVLC\n".
|
||||
"/*\n".
|
||||
" * In an ideal world, plugins would include all the headers they need.\n".
|
||||
" * But of course, many, if not all, of them don't, so we have to make sure\n".
|
||||
" * the whole libvlc API is defined here in any case when included from a\n".
|
||||
" * plugin.\n".
|
||||
" */\n".
|
||||
"# ifdef __PLUGIN__\n".
|
||||
"# ifdef __cplusplus\n".
|
||||
"extern \"C\" {\n".
|
||||
"# endif\n";
|
||||
|
||||
foreach (keys %new_APIs)
|
||||
{
|
||||
print { $new_sym }
|
||||
$new_APIs{$_}[0]." $_ (".$new_APIs{$_}[1].");\n";
|
||||
}
|
||||
|
||||
print { $new_sym }
|
||||
"# ifdef __cplusplus\n".
|
||||
"}\n".
|
||||
"# endif\n".
|
||||
"# endif /* __PLUGIN__ */\n".
|
||||
"# else /* HAVE_LIBVLC_SHARED */\n".
|
||||
"# error You are not supposed to include this file!\n".
|
||||
"# endif\n".
|
||||
"/*\n".
|
||||
" * This is the big VLC API structure for plugins :\n".
|
||||
" * Changing its layout breaks plugin's binary compatibility,\n".
|
||||
@ -179,7 +158,7 @@ foreach (keys %new_APIs)
|
||||
#
|
||||
print { $new_sym }
|
||||
"};\n".
|
||||
"# if defined (__PLUGIN__)\n";
|
||||
"# if defined (__PLUGIN__)\n";
|
||||
|
||||
foreach (@API)
|
||||
{
|
||||
@ -187,11 +166,11 @@ foreach (@API)
|
||||
}
|
||||
|
||||
print { $new_sym }
|
||||
"# elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__)\n".
|
||||
"# elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__)\n".
|
||||
"/******************************************************************\n".
|
||||
" * STORE_SYMBOLS: store VLC APIs into p_symbols for plugin access.\n".
|
||||
" ******************************************************************/\n".
|
||||
"# define STORE_SYMBOLS( p_symbols ) \\\n";
|
||||
"# define STORE_SYMBOLS( p_symbols ) \\\n";
|
||||
|
||||
foreach (@API)
|
||||
{
|
||||
@ -204,8 +183,7 @@ foreach (@deprecated_API)
|
||||
|
||||
print { $new_sym }
|
||||
"\n".
|
||||
"# endif /* __PLUGIN__ */\n".
|
||||
"# endif /* HAVE_SHARED_LIBVLC */\n".
|
||||
"# endif /* __PLUGIN__ */\n".
|
||||
"#endif /* __VLC_SYMBOLS_H */\n";
|
||||
close $new_sym;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user