} specific;
/* The part below is made of consecutive MPIs, their number and size being
- * public-key-algorithm dependant.
+ * public-key-algorithm dependent.
*
* Since we use DSA signatures only, there is 2 integers, r & s, made of:
* 2 bytes for the integer length (scalar number)
typedef struct public_key_t public_key_t;
+/**
+ * Non blocking binary download
+ */
+typedef struct
+{
+ VLC_COMMON_MEMBERS
+ update_t *p_update;
+ char *psz_destdir;
+} update_download_thread_t;
+
+/**
+ * Non blocking update availability verification
+ */
+typedef struct
+{
+ VLC_COMMON_MEMBERS
+ update_t *p_update;
+ void (*pf_callback)( void *, bool );
+ void *p_data;
+} update_check_thread_t;
/**
* The update object. Stores (and caches) all information relative to updates
*/
vlc_mutex_t lock;
struct update_release_t release; ///< Release (version)
public_key_t *p_pkey;
+ update_download_thread_t *p_download;
+ update_check_thread_t *p_check;
};