X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmissing.c;h=613e08069c2cf0c5f37ad7d39710c17de9eb0fb3;hb=c12acbd7d48431d7b5029d765e69e87378aca7a2;hp=44495be5b4ad162dad2c242ec945736bbaf05fba;hpb=ff004f399d0470ff24dce885b78056d56ca5ae3c;p=vlc diff --git a/src/missing.c b/src/missing.c index 44495be5b4..613e08069c 100644 --- a/src/missing.c +++ b/src/missing.c @@ -34,21 +34,25 @@ char *httpd_ClientIP (const httpd_client_t *cl, char *psz_ip) { + (void) cl; (void) psz_ip; assert (0); } void httpd_ClientModeBidir (httpd_client_t *cl) { + (void) cl; assert (0); } void httpd_ClientModeStream (httpd_client_t *cl) { + (void) cl; assert (0); } httpd_file_sys_t *httpd_FileDelete (httpd_file_t *file) { + (void) file; assert (0); } @@ -58,11 +62,16 @@ httpd_file_t *httpd_FileNew (httpd_host_t *host, 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) cb; (void) data; assert (0); } httpd_handler_sys_t *httpd_HandlerDelete (httpd_handler_t *handler) { + (void) handler; assert (0); } @@ -72,11 +81,15 @@ httpd_handler_t *httpd_HandlerNew (httpd_host_t *host, const char *url, httpd_handler_callback_t cb, httpd_handler_sys_t *data) { + (void) host; (void) url; + (void) login; (void) password; (void) acl; + (void) cb; (void) data; assert (0); } void httpd_HostDelete (httpd_host_t *h) { + (void) h; assert (0); } @@ -87,37 +100,44 @@ httpd_host_t *httpd_HostNew (vlc_object_t *obj, const char *host, int port) void httpd_MsgAdd (httpd_message_t *m, const char *name, const char *fmt, ...) { + (void) m; (void) name; (void) fmt; assert (0); } const char *httpd_MsgGet (const httpd_message_t *m, const char *name) { + (void) m; (void) name; assert (0); } void httpd_RedirectDelete (httpd_redirect_t *r) { + (void) r; assert (0); } httpd_redirect_t *httpd_RedirectNew (httpd_host_t *host, const char *dst, const char *src) { + (void) host; (void) dst; (void) src; assert (0); } char *httpd_ServerIP (const httpd_client_t *client, char *ip) { + (void) client; (void) ip; assert (0); } void httpd_StreamDelete (httpd_stream_t *stream) { + (void) stream; assert (0); } int httpd_StreamHeader (httpd_stream_t *stream, uint8_t *data, int count) { + (void) stream; (void) data; (void) count; assert (0); } @@ -126,11 +146,14 @@ httpd_stream_t *httpd_StreamNew (httpd_host_t *host, const char *login, const char *password, const vlc_acl_t *acl) { + (void) host; (void) url; (void) content_type; + (void) login; (void) password; (void) acl; assert (0); } int httpd_StreamSend (httpd_stream_t *stream, uint8_t *data, int count) { + (void) stream; (void) data; (void) count; assert (0); } @@ -138,6 +161,8 @@ httpd_host_t *httpd_TLSHostNew (vlc_object_t *obj, const char *host, int port, const char *cert, const char *key, const char *ca, const char *crl) { + (void) host; (void) port; + (void) cert; (void) key; (void) ca; (void) crl; msg_Err (obj, "VLC httpd support not compiled-in!"); return NULL; } @@ -145,11 +170,13 @@ httpd_host_t *httpd_TLSHostNew (vlc_object_t *obj, const char *host, int port, int httpd_UrlCatch (httpd_url_t *url, int request, httpd_callback_t cb, httpd_callback_sys_t *data) { + (void) url; (void) request; (void) cb; (void) data; assert (0); } void httpd_UrlDelete (httpd_url_t *url) { + (void) url; assert (0); } @@ -157,6 +184,7 @@ httpd_url_t *httpd_UrlNew (httpd_host_t *host, const char *url, const char *login, const char *password, const vlc_acl_t *acl) { + (void) host; (void) url; (void) login; (void) password; (void) acl; assert (0); } @@ -164,6 +192,7 @@ httpd_url_t *httpd_UrlNewUnique (httpd_host_t *host, const char *url, const char *login, const char *password, const vlc_acl_t *acl) { + (void) host; (void) url; (void) login; (void) password; (void) acl; assert (0); } #endif /* !ENABLE_HTTPD */ @@ -263,7 +292,12 @@ void sout_MuxDeleteStream (sout_mux_t *mux, sout_input_t *input) assert (0); } -sout_mux_t *sout_MuxNew (sout_instance_t *instance, char *mux, +int sout_MuxGetStream (sout_mux_t *p_mux, int i_blocks, mtime_t *pi_dts) +{ + assert (0); +} + +sout_mux_t *sout_MuxNew (sout_instance_t *instance, const char *mux, sout_access_out_t *out) { assert (0); @@ -279,12 +313,14 @@ announce_method_t *sout_SAPMethod (void) return NULL; } -void sout_StreamDelete (sout_stream_t *stream) +void sout_StreamChainDelete (sout_stream_t *p_first, sout_stream_t *p_last) { assert (0); } -sout_stream_t *sout_StreamNew (sout_instance_t *instance, char *chain) +sout_stream_t *sout_StreamChainNew (sout_instance_t *p_sout, char *psz_chain, + sout_stream_t *p_next, + sout_stream_t **pp_last) { assert (0); } @@ -308,37 +344,153 @@ char *vlc_sdp_Start (vlc_object_t *obj, const char *cfg, int vlm_Control (vlm_t *vlm, int query, ...) { + VLC_UNUSED (vlm); assert (0); } void vlm_Delete (vlm_t *vlm) { + VLC_UNUSED (vlm); assert (0); } int vlm_ExecuteCommand (vlm_t *vlm, const char *cmd, vlm_message_t **pm) { + VLC_UNUSED (vlm); + VLC_UNUSED (cmd); + VLC_UNUSED (pm); assert (0); } vlm_message_t *vlm_MessageAdd (vlm_message_t *a, vlm_message_t *b) { + VLC_UNUSED (a); + VLC_UNUSED (b); assert (0); } void vlm_MessageDelete (vlm_message_t *m) { + VLC_UNUSED (m); assert (0); } -vlm_message_t *vlm_MessageNew (const char *a, const char *fmt, ...) +vlm_message_t *vlm_MessageSimpleNew (const char *a) { + VLC_UNUSED (a); return NULL; } -vlm_t *__vlm_New (vlc_object_t *obj) +vlm_message_t *vlm_MessageNew (const char *a, const char *fmt, ...) +{ + VLC_UNUSED (a); + VLC_UNUSED (fmt); + return vlm_MessageSimpleNew (a); +} + +#undef vlm_New +vlm_t *vlm_New (vlc_object_t *obj) { msg_Err (obj, "VLM not compiled-in!"); return NULL; } #endif /* !ENABLE_VLM */ + +#ifndef MEDIA_LIBRARY +#include + +#undef ml_Hold +media_library_t* ml_Hold ( vlc_object_t* p_this ) +{ + VLC_UNUSED( p_this ); + return NULL; +} + +#undef ml_Release +void ml_Release ( vlc_object_t* p_this ) +{ + VLC_UNUSED( p_this ); + assert( 0 ); +} + +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 */