swu_client_configuration_get_id()

Get the unique ID of the UpdateClient

Synopsis:

#include <swu/ClientConfiguration.h>

swu_result_t swu_client_configuration_get_id( 
                                        swu_client_id_t *id )

Arguments:

id
On output, the client 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 unique ID of the UpdateClient. The UpdateClient is identified by a unique ID set by the library during initialization. Currently, the library doesn't use this ID internally. However, the ID could be included to distinguish the client from other clients when it reports installation details to a server.

Returns:

One of the following swu_result_t values:

SWU_RESULT_SUCCESS
The operation succeeded.
SWU_RESULT_INVALID_ARGUMENT
An invalid argument (e.g., a bad pointer) was given.
SWU_RESULT_NOT_INITIALIZED
The library hasn't been initialized yet.
SWU_RESULT_ERROR
Another error occurred.