sdk/sdk.go
func TransactionSetName(id int64, name string) (int, error) {
	cname := C.CString(name)
	defer C.free(unsafe.Pointer(cname))

	return errNo(C.newrelic_transaction_set_name(C.long(id), cname))
}
func TransactionSetName(id int64, name string) (int, error) {
	cname := C.CString(name)
	defer C.free(unsafe.Pointer(cname))

	return errNo(C.newrelic_transaction_set_name(C.long(id), cname))
}
func TransactionSetName ( id int64 , name string ) ( int , error ) { cname := C . CString ( name ) defer C . free ( unsafe . Pointer ( cname ) ) return errNo ( C . newrelic_transaction_set_name ( C . long ( id ) , cname ) ) }
/*
 * Set the name of a transaction.
 *
 * @param transaction_id  id of transaction
 * @param name  transaction name
 * @return  0 on success, else negative warning code or error code
 */
/ * Set the name of a transaction .