VLC 4.0.0-dev
Loading...
Searching...
No Matches

Over-the-air VLC software updates. More...

Collaboration diagram for Software updates:

Files

file  vlc_update.h
 VLC software update interface.

Data Structures

struct  update_release_t
 Describes an update VLC release number. More...

Macros

#define update_New(a)

Typedefs

typedef struct update_release_t update_release_t

Functions

update_tupdate_New (vlc_object_t *)
 Create a new update VLC struct.
void update_Delete (update_t *)
 Delete an update_t struct.
void update_Check (update_t *, void(*callback)(void *, bool), void *)
 Check for updates.
bool update_NeedUpgrade (update_t *)
void update_Download (update_t *, const char *)
 Download the file given in the update_t.
update_release_tupdate_GetRelease (update_t *)

Detailed Description

Over-the-air VLC software updates.

Macro Definition Documentation

◆ update_New

#define update_New ( a)
Value:
#define update_New(a)
Definition vlc_update.h:53
#define VLC_OBJECT(x)
Type-safe vlc_object_t cast.
Definition vlc_objects.h:83

Referenced by update_New().

Typedef Documentation

◆ update_release_t

typedef struct update_release_t update_release_t

Function Documentation

◆ update_Check()

void update_Check ( update_t * p_update,
void(* pf_callback )(void *, bool),
void * p_data )

Check for updates.

Parameters
p_updatepointer to update struct
pf_callbackpointer to a function to call when the update_check is finished
p_datapointer to some data to give to the callback

References update_t::p_check, update_check_thread_t::p_data, update_check_thread_t::p_update, update_check_thread_t::pf_callback, update_check_thread_t::thread, update_CheckReal(), vlc_assert_unreachable, vlc_clone(), and vlc_join().

◆ update_Delete()

◆ update_Download()

void update_Download ( update_t * p_update,
const char * psz_destdir )

◆ update_GetRelease()

update_release_t * update_GetRelease ( update_t * p_update)

◆ update_NeedUpgrade()

◆ update_New()

update_t * update_New ( vlc_object_t * p_this)