Function sapnwrfc::binding::RfcSetTraceType [] [src]

pub unsafe extern "C" fn RfcSetTraceType(
    traceType: *mut SAP_UC,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC

Changes the way the NW RFC lib writes trace files.

This function has the same effect as the sapnwrfc.ini parameter RFC_TRACE_TYPE. See the documentation of that parameter in the sample ini file contained in the /demo directory of the NW RFC SDK.

Note: This API call closes currently open trace files and then changes to "one file per process" or one "file per thread". If the NW RFC lib is already using the given trace type, it does nothing.

\in *traceType Must be either "PROCESS" or "THREAD". \out *errorInfo Detail information in case of an invalid traceEncoding input. \return RFC_RC