fsp_plms_UnregisterNotificationEvent()

QNX SDP8.0PLMS User's GuideAPIConfigurationDeveloper

Unregister notifications from PLMS

Synopsis:

#include <fsp/plms.h>

fsp_ResultType fsp_plms_UnregisterNotificationEvent( fsp_plms_HandleType *plms_hdl,
                                                     uint64_t flags ); 

Arguments:

plms_hdl
The PLMS handle returned in fsp_plms_Connect().
flags
The same flag value used in fsp_plms_registernotificationevent().

Library:

libplms

Use the -l plms option to qcc to link against this library.

Description:

The fsp_plms_UnregisterNotificationEvent() unregisters the notification for the given plms_hdl and flags. The flags must match the flags used for the registration in fsp_plms_RegisterNotificationEvent() for the unregistration to be successful; otherwise the unregistration will return an error. The caller must have the plms/query ability to use this call.

QPLMS provides a flag, FSP_PLMS_UNREGISTER_ALL, which can be used to unregister all notifications specific to the plms_hdl connection.

Returns:

Returns FSP_PLMS_STATUS_EOK on success, or FSP_PLMS_STATUS_FAIL on error and sets errno.

Errors:

ENOSYS
The resource manager ID is incorrect.
EBADMSG
The resource manager received an incomplete or combined client message.

Example:

fsp_plms_UnregisterNotificationEvent(plms_hdl, flags);
Page updated: