X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_symbols.h;h=91372772060845397ba30c314d70909ab2ea768b;hb=1f5a8130c6d2f7a0280588182ba8d277c2ca38fc;hp=06f0b04a04c97c153c72f418d66531ad183e973f;hpb=955b873df37a3f0beb70c7bd0da1a0471ba206f0;p=vlc diff --git a/include/vlc_symbols.h b/include/vlc_symbols.h index 06f0b04a04..9137277206 100644 --- a/include/vlc_symbols.h +++ b/include/vlc_symbols.h @@ -159,8 +159,8 @@ struct module_symbols_t void * (*vout_RequestWindow_inner) (vout_thread_t *, int *, int *, unsigned int *, unsigned int *); void (*vout_ReleaseWindow_inner) (vout_thread_t *, void *); int (*vout_ControlWindow_inner) (vout_thread_t *, void *, int, va_list); - access_t * (*__access2_New_inner) (vlc_object_t *p_obj, char *psz_access, char *psz_demux, char *psz_path, vlc_bool_t b_quick); - access_t * (*access2_FilterNew_inner) (access_t *p_source, char *psz_access_filter); + access_t * (*__access2_New_inner) (vlc_object_t *p_obj, const char *psz_access, const char *psz_demux, const char *psz_path, vlc_bool_t b_quick); + access_t * (*access2_FilterNew_inner) (access_t *p_source, const char *psz_access_filter); void (*access2_Delete_inner) (access_t *); block_t * (*__block_New_inner) (vlc_object_t *, int); block_t * (*block_Realloc_inner) (block_t *, int i_pre, int i_body); @@ -191,7 +191,7 @@ struct module_symbols_t size_t (*vlc_iconv_inner) (vlc_iconv_t, const char **, size_t *, char **, size_t *); int (*vlc_iconv_close_inner) (vlc_iconv_t); char * (*vlc_dgettext_inner) (const char *package, const char *msgid); - demux_t * (*__demux2_New_inner) (vlc_object_t *p_obj, char *psz_access, char *psz_demux, char *psz_path, stream_t *s, es_out_t *out, vlc_bool_t); + demux_t * (*__demux2_New_inner) (vlc_object_t *p_obj, const char *psz_access, const char *psz_demux, const char *psz_path, stream_t *s, es_out_t *out, vlc_bool_t); void (*demux2_Delete_inner) (demux_t *); int (*demux2_vaControlHelper_inner) (stream_t *, int64_t i_start, int64_t i_end, int i_bitrate, int i_align, int i_query, va_list args); char const * (*vlc_error_inner) (int); @@ -267,11 +267,11 @@ struct module_symbols_t vlc_bool_t (*playlist_IsServicesDiscoveryLoaded_inner) (playlist_t *,const char *); void *__playlist_ItemNew_deprecated; void *__playlist_ItemCopy_deprecated; - playlist_item_t* (*playlist_ItemNewWithType_inner) (vlc_object_t *,const char *,const char *, int , const char **, int, int); + playlist_item_t* (*playlist_ItemNewWithType_inner) (vlc_object_t *,const char *,const char *, int , const char *const *, int, int); int (*playlist_ItemDelete_inner) (playlist_item_t *); void *playlist_ItemAddParent_deprecated; void *playlist_CopyParents_deprecated; - int (*playlist_ItemSetName_inner) (playlist_item_t *, char *); + int (*playlist_ItemSetName_inner) (playlist_item_t *, const char *); void *playlist_ItemSetDuration_deprecated; void *playlist_ViewInsert_deprecated; void *playlist_ViewDelete_deprecated; @@ -288,7 +288,7 @@ struct module_symbols_t int (*playlist_NodeDelete_inner) (playlist_t *, playlist_item_t *, vlc_bool_t , vlc_bool_t); int (*playlist_NodeEmpty_inner) (playlist_t *, playlist_item_t *, vlc_bool_t); int (*playlist_Add_inner) (playlist_t *, const char *, const char *, int, int, vlc_bool_t); - int (*playlist_AddExt_inner) (playlist_t *, const char *, const char *, int, int, mtime_t, const char **,int, vlc_bool_t); + int (*playlist_AddExt_inner) (playlist_t *, const char *, const char *, int, int, mtime_t, const char *const *,int, vlc_bool_t); void *playlist_ItemAdd_deprecated; void (*playlist_NodeAddItem_inner) (playlist_t *, playlist_item_t *, playlist_item_t *,int , int); void *playlist_Delete_deprecated; @@ -326,7 +326,7 @@ struct module_symbols_t subpicture_t * (*spu_SortSubpictures_inner) (spu_t *, mtime_t, vlc_bool_t); void (*spu_RenderSubpictures_inner) (spu_t *, video_format_t *, picture_t *, picture_t *, subpicture_t *, int, int); char * (*stream_ReadLine_inner) (stream_t *); - stream_t * (*__stream_DemuxNew_inner) (vlc_object_t *p_obj, char *psz_demux, es_out_t *out); + stream_t * (*__stream_DemuxNew_inner) (vlc_object_t *p_obj, const char *psz_demux, es_out_t *out); void (*stream_DemuxSend_inner) (stream_t *s, block_t *p_block); void (*stream_DemuxDelete_inner) (stream_t *s); stream_t * (*__stream_MemoryNew_inner) (vlc_object_t *p_obj, uint8_t *p_buffer, int64_t i_size, vlc_bool_t i_preserve_memory); @@ -492,8 +492,8 @@ struct module_symbols_t char * (*encode_URI_component_inner) (const char *psz); size_t (*vlc_strlcpy_inner) (char *, const char *, size_t); void *playlist_ItemNewFromInput_deprecated; - input_item_t * (*__input_ItemNewExt_inner) (vlc_object_t *, const char *, const char*, int, const char **, int); - input_item_t * (*input_ItemNewWithType_inner) (vlc_object_t *, const char *, const char *e, int, const char **, int, int); + input_item_t * (*__input_ItemNewExt_inner) (vlc_object_t *, const char *, const char*, int, const char *const *, int); + input_item_t * (*input_ItemNewWithType_inner) (vlc_object_t *, const char *, const char *e, int, const char *const *, int, int); playlist_item_t * (*playlist_NodeAddInput_inner) (playlist_t *, input_item_t *,playlist_item_t *,int , int); void *playlist_PlaylistAdd_deprecated; void *playlist_PlaylistAddExt_deprecated; @@ -553,6 +553,10 @@ struct module_symbols_t void (*__config_ChainParse_inner) (vlc_object_t *, char *psz_prefix, const char **ppsz_options, config_chain_t *); void (*config_ChainDestroy_inner) (config_chain_t *); char * (*config_ChainCreate_inner) (char **, config_chain_t **, char *); + int (*utf8_open_inner) (const char *filename, int flags, mode_t mode); + int (*net_ListenSingle_inner) (vlc_object_t *p_this, const char *psz_host, int i_port, int family, int socktype, int protocol); + char * (*str_format_time_inner) (char *); + char * (*__str_format_meta_inner) (vlc_object_t *, char *); }; # if defined (__PLUGIN__) # define aout_FiltersCreatePipeline (p_symbols)->aout_FiltersCreatePipeline_inner @@ -1029,6 +1033,10 @@ struct module_symbols_t # define __config_ChainParse (p_symbols)->__config_ChainParse_inner # define config_ChainDestroy (p_symbols)->config_ChainDestroy_inner # define config_ChainCreate (p_symbols)->config_ChainCreate_inner +# define utf8_open (p_symbols)->utf8_open_inner +# define net_ListenSingle (p_symbols)->net_ListenSingle_inner +# define str_format_time (p_symbols)->str_format_time_inner +# define __str_format_meta (p_symbols)->__str_format_meta_inner # elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__) /****************************************************************** * STORE_SYMBOLS: store VLC APIs into p_symbols for plugin access. @@ -1508,6 +1516,10 @@ struct module_symbols_t ((p_symbols)->__config_ChainParse_inner) = __config_ChainParse; \ ((p_symbols)->config_ChainDestroy_inner) = config_ChainDestroy; \ ((p_symbols)->config_ChainCreate_inner) = config_ChainCreate; \ + ((p_symbols)->utf8_open_inner) = utf8_open; \ + ((p_symbols)->net_ListenSingle_inner) = net_ListenSingle; \ + ((p_symbols)->str_format_time_inner) = str_format_time; \ + ((p_symbols)->__str_format_meta_inner) = __str_format_meta; \ (p_symbols)->net_ConvertIPv4_deprecated = NULL; \ (p_symbols)->__sout_CfgParse_deprecated = NULL; \ (p_symbols)->sout_CfgCreate_deprecated = NULL; \