swu_update_list_notification_t

Defines a notification callback for changes to an UpdateList

Synopsis:

typedef struct {
    void (*change_notifier)
            (swu_update_list_t list, void *context);
    void *context ;
} swu_update_list_notification_t;

Data:

void (*change_notifier)(swu_update_list_t list, void *context)
Callback function that runs in response to changes to an UpdateList. When the structure is first registered with the library, the callback function is called to inform the client of the current list contents.
void *context
Context pointer used when the change_notifier function is called.

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_notification_t structure stores the pointer to a callback function that processes notification changes related to an UpdateList as well as a context pointer that stores additional information.