X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmissing.c;h=7d913747ff50c97e0b299f42489554ea8241af28;hb=84852c462b8f80b03299a743d9a68f1fb54cbbc3;hp=c4d6b31b8e7e237da3075bc07e6850b3d8a9dd5e;hpb=a053ede0279678b52cc8fbf3dab8e78ae14c6a1b;p=vlc diff --git a/src/missing.c b/src/missing.c index c4d6b31b8e..7d913747ff 100644 --- a/src/missing.c +++ b/src/missing.c @@ -59,12 +59,11 @@ httpd_file_sys_t *httpd_FileDelete (httpd_file_t *file) httpd_file_t *httpd_FileNew (httpd_host_t *host, const char *url, const char *content_type, const char *login, const char *password, - const vlc_acl_t *acl, httpd_file_callback_t cb, httpd_file_sys_t *data) { (void) host; (void) url; (void) content_type; - (void) login; (void) password; (void) acl; + (void) login; (void) password; (void) cb; (void) data; assert (0); } @@ -77,12 +76,11 @@ httpd_handler_sys_t *httpd_HandlerDelete (httpd_handler_t *handler) httpd_handler_t *httpd_HandlerNew (httpd_host_t *host, const char *url, const char *login, const char *password, - const vlc_acl_t *acl, httpd_handler_callback_t cb, httpd_handler_sys_t *data) { (void) host; (void) url; - (void) login; (void) password; (void) acl; + (void) login; (void) password; (void) cb; (void) data; assert (0); } @@ -156,17 +154,16 @@ int httpd_StreamHeader (httpd_stream_t *stream, uint8_t *data, int count) httpd_stream_t *httpd_StreamNew (httpd_host_t *host, const char *url, const char *content_type, - const char *login, const char *password, - const vlc_acl_t *acl) + const char *login, const char *password) { (void) host; (void) url; (void) content_type; - (void) login; (void) password; (void) acl; + (void) login; (void) password; assert (0); } -int httpd_StreamSend (httpd_stream_t *stream, uint8_t *data, int count) +int httpd_StreamSend (httpd_stream_t *stream, const block_t *p_block) { - (void) stream; (void) data; (void) count; + (void) stream; (void) p_block; assert (0); } @@ -183,11 +180,10 @@ void httpd_UrlDelete (httpd_url_t *url) assert (0); } -httpd_url_t *httpd_UrlNewUnique (httpd_host_t *host, const char *url, - const char *login, const char *password, - const vlc_acl_t *acl) +httpd_url_t *httpd_UrlNew (httpd_host_t *host, const char *url, + const char *login, const char *password) { - (void) host; (void) url; (void) login; (void) password; (void) acl; + (void) host; (void) url; (void) login; (void) password; assert (0); } #endif /* !ENABLE_HTTPD */ @@ -291,7 +287,7 @@ sout_mux_t *sout_MuxNew (sout_instance_t *instance, const char *mux, assert (0); } -void sout_MuxSendBuffer (sout_mux_t *mux, sout_input_t *input, block_t *block) +int sout_MuxSendBuffer (sout_mux_t *mux, sout_input_t *input, block_t *block) { assert (0); } @@ -372,95 +368,3 @@ vlm_t *vlm_New (vlc_object_t *obj) return NULL; } #endif /* !ENABLE_VLM */ - -#ifndef MEDIA_LIBRARY -#include - -#undef ml_Get -media_library_t* ml_Get ( vlc_object_t* p_this ) -{ - VLC_UNUSED( p_this ); - return NULL; -} - -media_library_t* ml_Create ( vlc_object_t *p_this, char* psz_name ) -{ - VLC_UNUSED( p_this ); - VLC_UNUSED( psz_name ); - return NULL; -} - -void ml_Destroy( vlc_object_t * p_this ) -{ - VLC_UNUSED( p_this ); - assert( 0 ); -} - -ml_media_t* media_New( media_library_t* p_ml, int id, ml_select_e select, bool reload ) -{ - VLC_UNUSED( p_ml ); - VLC_UNUSED( id ); - VLC_UNUSED( select ); - VLC_UNUSED( reload ); - assert( 0 ); - return NULL; -} - -#undef ml_UpdateSimple -int ml_UpdateSimple( media_library_t *p_media_library, ml_select_e selected_type, - const char* psz_lvalue, int id, ... ) -{ - VLC_UNUSED( p_media_library ); - VLC_UNUSED( selected_type ); - VLC_UNUSED( psz_lvalue ); - VLC_UNUSED( id ); - assert( 0 ); - return 0; -} - -ml_ftree_t* ml_OpConnectChilds( ml_op_e op, ml_ftree_t* left, ml_ftree_t* right ) -{ - VLC_UNUSED( op ); - VLC_UNUSED( left ); - VLC_UNUSED( right ); - assert( 0 ); - return NULL; -} - -ml_ftree_t* ml_FtreeSpec( ml_ftree_t* tree, ml_select_e crit, int limit, - char* sort ) -{ - VLC_UNUSED( tree ); - VLC_UNUSED( crit ); - VLC_UNUSED( limit ); - VLC_UNUSED( sort ); - assert( 0 ); - return NULL; -} - -void ml_PlaySmartPlaylistBasedOn( media_library_t* p_ml, - ml_ftree_t* p_tree ) -{ - VLC_UNUSED( p_ml ); - VLC_UNUSED( p_tree ); - assert( 0 ); -} - -void ml_DeletePersonTypeFromMedia( ml_media_t* p_media, const char *psz_role ) -{ - VLC_UNUSED( p_media ); - VLC_UNUSED( psz_role ); - assert( 0 ); -} - -ml_person_t* ml_GetPersonsFromMedia( media_library_t* p_ml, - ml_media_t* p_media, - const char *psz_role ) -{ - VLC_UNUSED( p_ml ); - VLC_UNUSED( p_media ); - VLC_UNUSED( psz_role ); - assert( 0 ); - return NULL; -} -#endif /* !MEDIA_LIBRARY */