Over-the-air VLC software updates.
More...
Over-the-air VLC software updates.
◆ update_New
#define update_New |
( |
|
a | ) |
update_New( VLC_OBJECT( a ) ) |
◆ update_release_t
◆ update_Check()
void update_Check |
( |
update_t * |
p_update, |
|
|
void(*)(void *, bool) |
pf_callback, |
|
|
void * |
p_data |
|
) |
| |
◆ update_Delete()
void update_Delete |
( |
update_t * |
p_update | ) |
|
Delete an update_t struct.
- Parameters
-
p_update | update_t* pointer |
- Returns
- nothing
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_download_thread_t::thread, update_check_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 |
dir | to store the download file |
- Returns
- nothing
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, vlc_gcrypt_init(), vlc_mutex_init(), and vlc_object_instance.