[−][src]Function newrelic_sys::newrelic_start_non_web_transaction
pub unsafe extern "C" fn newrelic_start_non_web_transaction(
app: *mut newrelic_app_t,
name: *const c_char
) -> *mut newrelic_txn_t
@brief Start a non-web based transaction.
Given a valid application and transaction name, this function begins timing a new transaction and returns a valid pointer to a New Relic transaction, newrelic_txn_t. The return value of this function may be used as an input parameter to functions that modify an active transaction.
@param [in] app A pointer to an allocation application. @param [in] name The name for the transaction.
@return A pointer to the transaction.