swu_update_unregister_notifications()

Unregister a set of notification callbacks for an update

Synopsis:

#include <swu/Update.h>
 
swu_result_t swu_update_unregister_notifications(
            swu_update_t update, 
            const swu_update_notifications_t *notifications )

Arguments:

update
Handle of the Update.
notifications
A pointer to the swu_update_notifications_t structure containing the notification callbacks to unregister.

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 set of notification callbacks for the update referenced in update. After this function returns SWU_RESULT_SUCCESS, the caller can safely release the memory used by the notifications structure (because the library won't call the callbacks in this structure anymore).

Returns:

One of the following swu_result_t values:

SWU_RESULT_SUCCESS
The operation succeeded.
SWU_RESULT_NOT_FOUND
The specified swu_update_notifications_t structure can't be found.
SWU_RESULT_INVALID_ARGUMENT
One of the arguments is invalid.
SWU_RESULT_ERROR
Another error occurred.