swu_update_list_get_length()

Get the number of Update objects in an UpdateList

Synopsis:

#include <swu/UpdateClient.h>

swu_result_t swu_update_list_get_length( 
                            swu_update_list_t list,
                            size_t *length )

Arguments:

list
Handle of an UpdateList whose length is requested by the caller.
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 Update objects in the UpdateList specified in list. The function stores the list length (i.e., the number of objects) 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.