Possible failure reasons for update installations
Synopsis:
#include <swu/Common.h>
typedef enum {
SWU_FAILURE_REASON_UPDATE_NOT_SUPPORTED,
SWU_FAILURE_REASON_NOT_READY_FOR_UPDATE,
SWU_FAILURE_REASON_INVALID_CONDITIONS,
SWU_FAILURE_REASON_INSTALL_FAILED,
SWU_FAILURE_REASON_INSTALL_VERIFICATION_FAILED
} swu_failure_reason_t;
Data:
- SWU_FAILURE_REASON_UPDATE_NOT_SUPPORTED
- The target system doesn't support updates.
- SWU_FAILURE_REASON_NOT_READY_FOR_UPDATE
- The target system isn't ready for updates.
- SWU_FAILURE_REASON_INVALID_CONDITIONS
- The target system couldn't install the update
(e.g., because a bad base version of the software was specified).
- SWU_FAILURE_REASON_INSTALL_FAILED
- A failure occurred during the update installation.
- SWU_FAILURE_REASON_INSTALL_VERIFICATION_FAILED
- A failure occured during the verification of the update installation.
Library:
libswu-coreUse the -l swu-core option with
qcc to link against the SWU library. This library is usually included automatically.
Description:
The swu_failure_reason_t enumeration defines the possible reasons that an update installation can fail.