swu_failure_info_t

Describes the failure experienced by an UpdateTarget

Synopsis:

typedef struct {
    swu_failure_reason_t reason;
    swu_failure_code_t code;
} swu_failure_info_t;

Data:

swu_failure_reason_t reason
An swu_failure_reason_t constant indicating the type of failure.
swu_failure_code_t code
A customer-specific code providing more details about the failure.

Library:

libswu-core

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

Description:

The swu_failure_info_t structure describes the failure experienced by an UpdateTarget. The structure stores an swu_failure_reason_t constant, which specifies a library-defined failure category, as well as an swu_failure_code_t, which contains a customer-specific failure code.