]> git.sesse.net Git - vlc/blobdiff - include/vlc_update.h
Remove excess whiteline
[vlc] / include / vlc_update.h
index fd4aa04ed0e198d2eab3f979d27a0808bf842faf..f2588ebdfa33a8b1f907614bb89635f117aeae83 100644 (file)
@@ -2,7 +2,7 @@
  * vlc_update.h: VLC update and plugins download
  *****************************************************************************
  * Copyright (C) 2005 the VideoLAN team
- * $Id$
+ * $Id$
  *
  * Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
  *
@@ -115,7 +115,7 @@ struct update_mirror_t
  */
 struct update_t
 {
-    libvlc_int_t *p_libvlc; 
+    libvlc_int_t *p_libvlc;
 
     vlc_mutex_t lock;
 
@@ -143,14 +143,7 @@ struct update_iterator_t
     int i_rs;       ///< Release status bitmask
     int i_rt;       ///< Release type bitmask
 
-    struct
-    {
-        int i_type;             ///< Type
-        char* psz_md5;          ///< MD5 hash
-        long int l_size;        ///< Size in bytes
-        char* psz_url;          ///< Absolute URL
-        char* psz_description;  ///< Description
-    } file;         ///< Local 'copy' of the current file's information
+    struct update_file_t file; ///< Local copy of the current file's information
     struct
     {
         char *psz_version;      ///< Version string
@@ -176,7 +169,7 @@ VLC_EXPORT( update_iterator_t *, update_iterator_New, ( update_t * ) );
 VLC_EXPORT( void, update_iterator_Delete, ( update_iterator_t * ) );
 VLC_EXPORT( unsigned int, update_iterator_Action, ( update_iterator_t *, int ) );
 VLC_EXPORT( unsigned int, update_iterator_ChooseMirrorAndFile, ( update_iterator_t *, int, int, int ) );
-VLC_EXPORT( void, update_download, ( update_iterator_t *, char * ) );
+VLC_EXPORT( void, update_download, ( update_iterator_t *, const char * ) );
 
 /**
  * @}