swu_update_list_unregister_notification()

Unregister a listener from receiving notifications about changes to an UpdateList

Synopsis:

#include <swu/UpdateClient.h>

swu_result_t swu_update_list_unregister_notification(
        swu_update_list_t list, 
        const swu_update_list_notification_t *notification )

Arguments:

list
Handle of the UpdateList for which the caller no longer needs to receive notifications.
notification
Pointer to the swu_update_list_notification_t structure used in the earlier call to swu_update_list_register_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 an UpdateList. This function informs the UpdateClient that the listener is no longer interested in content changes to the UpdateList referred to in list.

You must pass in a pointer to the same swu_update_list_notification_t structure that you used to register for notifications when calling swu_update_list_register_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.