VLC  3.0.15
Files | Data Structures | Macros | Typedefs | Functions
Software updates
Collaboration diagram for Software updates:

Files

file  vlc_update.h
 

Data Structures

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

Macros

#define update_New(a)   update_New( VLC_OBJECT( a ) )
 

Typedefs

typedef struct update_release_t update_release_t
 

Functions

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

Detailed Description

Over-the-air VLC software updates

Macro Definition Documentation

◆ update_New

#define update_New (   a)    update_New( VLC_OBJECT( a ) )

Typedef Documentation

◆ update_release_t

Function Documentation

◆ update_Check()

void update_Check ( update_t p_update,
void(*)(void *, bool)  pf_callback,
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 datas to give to the callback
Returns
nothing

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(), vlc_join(), and VLC_THREAD_PRIORITY_LOW.

◆ update_Delete()

void update_Delete ( update_t p_update)

◆ update_Download()

void update_Download ( update_t p_update,
const char *  psz_destdir 
)

◆ update_GetRelease()

update_release_t* update_GetRelease ( update_t )

◆ update_NeedUpgrade()

bool update_NeedUpgrade ( update_t )

◆ update_New()

update_t* update_New ( vlc_object_t p_this)