dpiConn_subscribe

Function dpiConn_subscribe 

Source
pub unsafe extern "C" fn dpiConn_subscribe(
    conn: *mut dpiConn,
    params: *mut dpiSubscrCreateParams,
    subscr: *mut *mut dpiSubscr,
) -> c_int
Expand description

Returns a reference to a subscription which is used for requesting notifications of events that take place in the database. Events that are supported are changes on tables or queries (continuous query notification) and the availability of messages to dequeue (advanced queuing). The reference should be released as soon as it is no longer needed.

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.