swu_client_unregister_target_list_notification()

Unregister a listener from receiving notifications about changes to the UpdateTarget list

Synopsis:

#include <swu/UpdateClient.h>

swu_result_t swu_client_unregister_target_list_notification(
      const swu_client_target_notification_t *notification )

Arguments:

notification
Pointer to the swu_client_target_notification_t structure used in the earlier call to swu_client_register_target_list_notification().

Library:

libswu-core

Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.

Description:

Unregister a listener from receiving notifications about changes to the UpdateTarget list. This function informs the UpdateClient that the listener is no longer interested in the UpdateTarget list contents.

You must pass in a pointer to the same swu_client_target_notification_t structure that you used to register for notifications when calling swu_client_register_target_list_notification(). At this point, the notification interface registered in this earlier call is no longer needed.

Returns:

One of the following swu_result_t values:

SWU_RESULT_SUCCESS
The operation succeeded.
SWU_RESULT_NOT_FOUND
The structure referred to in notification couldn't be found.
SWU_RESULT_INVALID_ARGUMENT
An invalid argument was given.
SWU_RESULT_ERROR
Another error occurred.