Callback function for iterating through the UpdateTarget list
#include <swu/UpdateClient.h> typedef bool( *swu_client_target_iterator_t ) ( swu_target_t target, void *context );
Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.
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.