Over-the-air VLC software updates.
More...
Over-the-air VLC software updates.
◆ update_New
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().
◆ update_release_t
| typedef struct update_release_t update_release_t |
◆ update_Check()
| void update_Check |
( |
update_t * | p_update, |
|
|
void(* | pf_callback )(void *, bool), |
|
|
void * | p_data ) |
◆ update_Delete()
| void update_Delete |
( |
update_t * | p_update | ) |
|
Delete an update_t struct.
- Parameters
-
| p_update | update_t* pointer |
References update_download_thread_t::aborted, update_t::p_check, update_t::p_download, update_t::p_pkey, update_release_t::psz_desc, update_release_t::psz_url, update_t::release, update_check_thread_t::thread, update_download_thread_t::thread, vlc_assert_unreachable, vlc_join(), and vlc_object_delete.
◆ update_Download()
| void update_Download |
( |
update_t * | p_update, |
|
|
const char * | psz_destdir ) |
Download the file given in the update_t.
- Parameters
-
| p_update | structure |
| psz_destdir | to store the download file |
References update_download_thread_t::aborted, update_t::p_download, update_t::p_libvlc, update_download_thread_t::p_update, update_download_thread_t::psz_destdir, strdup(), update_download_thread_t::thread, update_DownloadReal(), vlc_assert_unreachable, vlc_clone(), vlc_custom_create, vlc_join(), and vlc_object_delete.
◆ update_GetRelease()
◆ update_NeedUpgrade()
| bool update_NeedUpgrade |
( |
update_t * | p_update | ) |
|
◆ update_New()
Create a new update VLC struct.
- Parameters
-
| p_this | the calling vlc_object |
- Returns
- pointer to new update_t or NULL
References update_t::lock, update_t::p_check, update_t::p_download, update_t::p_libvlc, update_t::p_pkey, update_release_t::psz_desc, update_release_t::psz_url, update_t::release, update_New, vlc_gcrypt_init(), vlc_mutex_init(), and vlc_object_instance.