[][src]Function newrelic_sys::newrelic_end_transaction

pub unsafe extern "C" fn newrelic_end_transaction(
    transaction_ptr: *mut *mut newrelic_txn_t
) -> bool

@brief End a transaction.

Given an active transaction, this function stops the transaction's timing, sends any data to the New Relic daemon, and destroys the transaction.

@param [in] transaction_ptr The address of a pointer to an active transaction.

@return false if transaction is NULL or points to NULL; false if data cannot be sent to newrelic; true otherwise.

@warning This function must only be called once for a given transaction.