swu_client_target_notification_t

Defines a notification callback for changes to UpdateTarget list

Synopsis:

typedef struct {
    void (*change_notifier)(void *context);
    void *context ;
} swu_client_target_notification_t;

Data:

void (*change_notifier)(void *context)
Callback function that runs in response to changes to the UpdateTarget list. When this 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_client_target_notification_t structure stores the pointer to a callback function that processes notification changes related to the UpdateTarget list as well as a context pointer that stores additional information.