swu_update_list_iterator_t

Callback function for iterating through an UpdateList

Synopsis:

#include <swu/UpdateClient.h>

typedef bool( *swu_update_list_iterator_t )
                ( swu_update_t update, void *context );

Arguments:

update
Handle of the current Update object in the list. When NULL, it indicates the end of the list.
context
A pointer set by the call to swu_update_list_iterate().

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