- char* psz_major; ///< Version major string
- char* psz_minor; ///< Version minor string
- char* psz_revision; ///< Version revision string
- char* psz_extra; ///< Version extra string
-
- char* psz_svn_revision; ///< SVN revision
-
- int i_type; ///< Release type
-
- int i_status; ///< Release status compared to current VLC version
-
- struct update_file_t* p_files; ///< Files list
- int i_files; ///< Number of files in the files list
-};
-
-/**
- * Describes a mirror
- */
-struct update_mirror_t
-{
- char *psz_name; ///< Mirror name
- char *psz_location; ///< Mirror geographical location
- char *psz_type; ///< Mirror type (FTP, HTTP, ...)
-
- char *psz_base_url; ///< Mirror base url
-
-};
-
-/**
- * The update object. Stores (and caches) all information relative to updates
- */
-struct update_t
-{
- libvlc_int_t *p_libvlc;
-
- vlc_mutex_t lock;
-
- struct update_release_t *p_releases; ///< Releases (version) list
- int i_releases; ///< Number of releases
- vlc_bool_t b_releases; ///< True if we have a releases list
-
- struct update_mirror_t *p_mirrors; ///< Mirrors list
- int i_mirrors; ///< Number of mirrors
- vlc_bool_t b_mirrors; ///< True if we have a mirrors list
+ int i_major; ///< Version major
+ int i_minor; ///< Version minor
+ int i_revision; ///< Version revision
+ unsigned char extra;///< Version extra
+ char* psz_url; ///< Download URL
+ char* psz_desc; ///< Release description