swu_client_get_target_list_length()

Get the number of items in the UpdateTarget list

Synopsis:

#include <swu/UpdateClient.h>

swu_result_t swu_client_get_target_list_length( 
                                        size_t *length )

Arguments:

length
On output, the length of the list.

Library:

libswu-core

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

Description:

Get the number of items in the UpdateTarget list. The function stores the list length (i.e., the number of targets) in length.

Returns:

One of the following swu_result_t values:

SWU_RESULT_SUCCESS
The operation succeeded.
SWU_RESULT_INVALID_ARGUMENT
An invalid argument was given.
SWU_RESULT_ERROR
Another error occurred.