swu_update_state_to_string()

Return a string representation of an swu_update_state_t constant

Synopsis:

#include <swu/Common.h>

const char* swu_update_state_to_string( 
                        swu_update_state_t state )

Arguments:

state
The swu_update_state_t code whose string representation is requested by the caller.

Library:

libswu-core

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

Description:

Return a null-terminated string representation of the specified swu_update_state_t enumeration constant. This constant refers to one of many possible states for a software update.

Returns:

A string version of the specified update state.