Report an update installation failure
#include <swu/UpdateTargetInterface.h>
swu_result_t swu_target_install_failed(
swu_target_id_t id,
swu_update_t update,
swu_failure_reason_t reason,
swu_failure_code_t code )
Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.
Report an update installation failure. An UpdateTarget (which is referenced in id) calls this function to inform the UpdateClient that an error was encountered while installing the update specified in update. It's expected that the UpdateTarget call this function after returning from the install function referenced in its associated swu_target_interface_t structure.
One of the following swu_result_t values: