dpiSubscr_release

Function dpiSubscr_release 

Source
pub unsafe extern "C" fn dpiSubscr_release(
    subscr: *mut dpiSubscr,
) -> c_int
Expand description

Releases a reference to the subscription. A count of the references to the subscription is maintained and when this count reaches zero, the memory associated with the subscription is freed. The subscription is also deregistered so that notifications are no longer sent, if this was not already done using the function dpiConn_unsubscribe().

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.