]> git.sesse.net Git - vlc/blobdiff - src/missing.c
aout: rationalize filters pipelines function names (cosmetic)
[vlc] / src / missing.c
index 45439d579aad3e36dd5d619bb98dc572118daced..2bd3dd172ef9b59ad986d9a9e5fc130cc2f11a00 100644 (file)
@@ -3,19 +3,19 @@
  *****************************************************************************
  * Copyright (C) 2008 RĂ©mi Denis-Courmont
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 /** \file
@@ -34,7 +34,7 @@
 
 char *httpd_ClientIP (const httpd_client_t *cl, char *psz_ip, int *port)
 {
-    (void) cl; (void) psz_ip; (void) port
+    (void) cl; (void) psz_ip; (void) port;
     assert (0);
 }
 
@@ -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);
 }
@@ -93,21 +91,20 @@ void httpd_HostDelete (httpd_host_t *h)
     assert (0);
 }
 
-httpd_host_t *vlc_http_HostNew (vlc_object_t *obj, int port)
+httpd_host_t *vlc_http_HostNew (vlc_object_t *obj)
 {
-    (void) port;
     msg_Err (obj, "HTTP server not compiled-in!");
     return NULL;
 }
 
-httpd_host_t *vlc_https_HostNew (vlc_object_t *obj, int port)
+httpd_host_t *vlc_https_HostNew (vlc_object_t *obj)
 {
-     return httpd_HostNew (obj, port);
+    msg_Err (obj, "HTTPS server not compiled-in!");
+    return NULL;
 }
 
-httpd_host_t *vlc_rtsp_HostNew (vlc_object_t *obj, int port)
+httpd_host_t *vlc_rtsp_HostNew (vlc_object_t *obj)
 {
-    (void) port;
     msg_Err (obj, "RTSP server not compiled-in!");
     return NULL;
 }
@@ -157,11 +154,10 @@ 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);
 }
 
@@ -185,18 +181,9 @@ void httpd_UrlDelete (httpd_url_t *url)
 }
 
 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);
-}
-
-httpd_url_t *httpd_UrlNewUnique (httpd_host_t *host, const char *url,
-                                 const char *login, const char *password,
-                                 const vlc_acl_t *acl)
+                           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 */
@@ -392,19 +379,6 @@ media_library_t* ml_Get ( vlc_object_t* 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 );
@@ -447,14 +421,6 @@ ml_ftree_t* ml_FtreeSpec( ml_ftree_t* tree, ml_select_e crit, int limit,
     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 );