Register a listener to receive notifications about changes to an UpdateList
#include <swu/UpdateClient.h> swu_result_t swu_update_list_register_notification( swu_update_list_t list, const swu_update_list_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 an UpdateList. This function informs the UpdateClient about a new listener interested in the contents of the UpdateList referenced in list.
The notification structure isn't copied, so the caller is expected to maintain 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: