swu_client_configuration_get_local_updates_enabled()

Determine whether local software updates are enabled

Synopsis:

#include <swu/ClientConfiguration.h>
 
swu_result_t swu_client_configuration_get_local_updates_enabled(
                                              bool *enabled )

Arguments:

enabled
On output, true if local updates are enabled and false if they're disabled.

Library:

libswu-core

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

Description:

Determine whether local software updates are enabled for the UpdateClient. Local software updates are updates whose information is read off USB or flash devices.

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.