swu_client_target_iterator_t

Callback function for iterating through the UpdateTarget list

Synopsis:

#include <swu/UpdateClient.h>

typedef bool( *swu_client_target_iterator_t )
                ( swu_target_t target, void *context );

Arguments:

target
Handle of an UpdateTarget object. When NULL, it indicates the end of the list.
context
A pointer set by the call to swu_client_iterate_targets().

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_client_target_iterator_t data type defines the prototype for a callback function that iterates over the contents of the UpdateTarget list. When swu_client_iterate_targets() is called, this callback function gets called for each list item and then a final time with a target value of NULL to indicate the end of the list.