Register a listener to receive notifications about changes to the UpdateTarget list
#include <swu/UpdateClient.h> swu_result_t swu_client_register_target_list_notification( const swu_client_target_notification_t *notification )
Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.
Register a listener to receive notifications about changes to the UpdateTarget list. This function informs the UpdateClient about a new listener interested in the UpdateTarget list contents. The function is called when a new UpdateTarget is registered with the library or when an existing one is unregistered.
The notification structure isn't copied, so it's expected that the caller maintains this structure. After the notification is successfully registered, the callback function referred to in notification gets called.
One of the following swu_result_t values: