swu_update_accept_install()

Accept the installation of a software update

Synopsis:

#include <swu/Update.h>
 
swu_result_t swu_update_accept_install( 
                                swu_update_t update )

Arguments:

update
Handle of the Update.

Library:

libswu-core

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

Description:

Accept the installation of the software update referenced in update. If the library successfully processes this request, the Update state transitions to SWU_UPDATE_STATE_INSTALLING.

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.