swu_update_get_manifest_id()

Get the manifest ID associated with an update

Synopsis:

#include <swu/Update.h>
 
swu_result_t swu_update_get_manifest_id(
                            swu_update_t update, 
                            swu_manifest_id_t *manifest_id )

Arguments:

update
Handle of the Update.
manifest_id
Pointer to the swu_manifest_id_t to store the manifest ID.

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 manifest ID associated with the Update specified in update. This function stores this ID in manifest_id. You can then read this field to determine which manifest was used to create the Update.

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.