]> git.sesse.net Git - vlc/blobdiff - modules/control/http/http.h
Remove useless <dirent.h> check
[vlc] / modules / control / http / http.h
index 3b9e98c5448beb70ebc849089721ea37b99de519..ebf1efa4e9336fd42762627eac19f0d702864b5f 100644 (file)
 #   include <io.h>
 #endif
 
-#ifdef HAVE_DIRENT_H
-#   include <dirent.h>
-#endif
-
 /* stat() support for large files on win32 */
 #if defined( WIN32 ) && !defined( UNDER_CE )
 #   define stat _stati64
@@ -93,8 +89,6 @@ int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
                         char *psz_dir );
 /** This function loads a file into a buffer */
 int FileLoad( FILE *f, char **pp_data, int *pi_data );
-/** This function creates a suitable URL for a filename */
-char *FileToUrl( char *name, bool *pb_index );
 /** This function returns the real path of a file or directory */
 char *RealPath( const char *psz_src );
 
@@ -188,8 +182,8 @@ void     mvar_AppendNewVar( mvar_t *vars, const char *name,
  * The arg parameter must be of the form "start[:stop[:step]]"  */
 mvar_t *mvar_IntegerSetNew( const char *name, const char *arg );
 
-/** This function creates a set variable with a list of VLC objects */
-mvar_t *mvar_ObjectSetNew( intf_thread_t *p_intf, char *name, const char *arg );
+/** This function creates a set variable with a list of SD plugins */
+mvar_t *mvar_ServicesSetNew( intf_thread_t *p_intf, char *name );
 
 /** This function creates a set variable with the contents of the playlist */
 mvar_t *mvar_PlaylistSetNew( intf_thread_t *p_intf, char *name,
@@ -208,7 +202,8 @@ mvar_t *mvar_FileSetNew( intf_thread_t *p_intf, char *name,
 /** This function creates a set variable representing the VLM streams */
 mvar_t *mvar_VlmSetNew( char *name, vlm_t *vlm );
 
-/** This function converts the listing of a playlist node into a mvar set */
+/** This function converts the listing of a playlist node into a mvar set.
+ *  It must be entered WITH playlist lock! */
 void PlaylistListNode( intf_thread_t *p_intf, playlist_t *p_pl,
                            playlist_item_t *p_node, char *name, mvar_t *s,
                            int i_depth );
@@ -284,7 +279,7 @@ void Execute( httpd_file_sys_t *p_args,
                   char *p_request, int i_request,
                   char **pp_data, int *pi_data,
                   char **pp_dst,
-                  char *_src, char *_end );
+                  const char *_src, const char *_end );
 
 /**@}*/