swu_update_defer_install()

Defer the installation of a software update for a specified amount of time

Synopsis:

#include <swu/Update.h>
 
swu_result_t swu_update_defer_install(
                                swu_update_t update, 
                                swu_timestamp_t defer_period )

Arguments:

update
Handle of the Update.
defer_period
Time period, in seconds, to defer the update installation.

Library:

libswu-core

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

Description:

Defer the installation of the software update referenced in update (if the update allows it). This function defers the update for the amount of time specified in defer_period.

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.
SWU_RESULT_ERROR
Another error occurred.