swu_client_initialize()

Initialize the library

Synopsis:

#include <swu/UpdateClient.h>

swu_result_t swu_client_initialize( const char *client_id )

Arguments:

client_id
Unique ID for identifying the client.

Library:

libswu-core

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

Description:

Initialize the library. This function must be called before any other SWU library API function to set up the swu-core library. The initialization function also assigns a unique ID for the UpdateClient.

Returns:

One of the following swu_result_t values:

SWU_RESULT_SUCCESS
The library was successfully initialized.
SWU_RESULT_ERROR
The library couldn't be initialized.