swu_update_get_release_timestamp()

Get the date and time that a software update was released

Synopsis:

#include <swu/Update.h>
 
swu_result_t swu_update_get_release_timestamp(
                                swu_update_t update, 
                                swu_timestamp_t *timestamp )

Arguments:

update
Handle of the Update.
timestamp
Pointer to the swu_timestamp_t to store the release timestamp.

Library:

libswu-core

Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.

Description:

Get the date and time that the software update referenced in update was released. This function retrieves the release timestamp specified when the Update was created and stores it in timestamp. Note that the timestamp can't be changed after the Update has been created.

Returns:

One of the following swu_result_t values:

SWU_RESULT_SUCCESS
The operation succeeded.
SWU_RESULT_INVALID_ARGUMENT
One of the arguments is invalid.