| VLC
    3.0.18
    | 

| Macros | |
| #define | UPDATE_OS_SUFFIX "" | 
| #define | UPDATE_VLC_STATUS_URL "http://update-test.videolan.org/vlc/status-win-x86" | 
| #define | dialog_FatalWait(p_obj, psz_title, psz_fmt, ...) | 
| Functions | |
| update_t * | update_New (vlc_object_t *p_this) | 
| Create a new update VLC struct.  More... | |
| void | update_Delete (update_t *p_update) | 
| Delete an update_t struct.  More... | |
| static void | EmptyRelease (update_t *p_update) | 
| Empty the release struct.  More... | |
| static bool | GetUpdateFile (update_t *p_update) | 
| Get the update file and parse it p_update has to be locked when calling this function.  More... | |
| static void * | update_CheckReal (void *) | 
| void | update_Check (update_t *p_update, void(*pf_callback)(void *, bool), void *p_data) | 
| Check for updates.  More... | |
| bool | update_NeedUpgrade (update_t *p_update) | 
| static char * | size_str (uint64_t l_size) | 
| Convert a long int size in bytes to a string.  More... | |
| static void * | update_DownloadReal (void *) | 
| void | update_Download (update_t *p_update, const char *psz_destdir) | 
| Download the file given in the update_t.  More... | |
| update_release_t * | update_GetRelease (update_t *p_update) | 
This file contains functions related to VLC update management
| #define dialog_FatalWait | ( | p_obj, | |
| psz_title, | |||
| psz_fmt, | |||
| ... | |||
| ) | 
| #define UPDATE_OS_SUFFIX "" | 
| #define UPDATE_VLC_STATUS_URL "http://update-test.videolan.org/vlc/status-win-x86" | 
| 
 | static | 
Empty the release struct.
| p_update | update_t* pointer | 
References FREENULL, update_release_t::i_major, update_release_t::i_minor, update_release_t::i_revision, update_release_t::psz_desc, update_release_t::psz_url, and update_t::release.
| 
 | static | 
Get the update file and parse it p_update has to be locked when calling this function.
| p_update | pointer to update struct | 
< No error
< No error
< No error
< No error
References BINARY_SIGNATURE, download_key(), download_signature(), FREENULL, hash_from_public_key(), hash_from_text(), signature_packet_t::hash_verification, update_release_t::i_extra, update_release_t::i_major, update_release_t::i_minor, update_release_t::i_revision, signature_packet_t::issuer_longid, public_key_t::key, public_key_t::longid, msg_Dbg, msg_Err, msg_Info, msg_Warn, update_t::p_libvlc, update_t::p_pkey, parse_public_key(), update_release_t::psz_desc, update_release_t::psz_url, update_t::release, public_key_t::sig, TEXT_SIGNATURE, signature_packet_t::type, UPDATE_VLC_STATUS_URL, verify_signature(), videolan_public_key, videolan_public_key_longid, VLC_OBJECT, vlc_stream_Delete(), vlc_stream_GetSize(), vlc_stream_NewURL, vlc_stream_Read(), and VLC_SUCCESS.
| 
 | static | 
Convert a long int size in bytes to a string.
| l_size | the size in bytes | 
References _, and asprintf().
| 
 | static | 
Referenced by update_Check().
| 
 | static | 
 1.8.16
 1.8.16