Function sapnwrfc::binding::RfcSetTraceDir
[−]
[src]
pub unsafe extern "C" fn RfcSetTraceDir(
traceDir: *mut SAP_UC,
errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC
Changes the directory where the NW RFC lib should write trace files.
This function has the same effect as the sapnwrfc.ini parameter RFC_TRACE_DIR. 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 affects only new trace files that will be opened after the call. The directory of already existing trace files is not changed in order to prevent confusion and garbage data...
\in *traceDir The new directory. Can be an absolute or relative path name. The directory needs to exist prior to calling this API. The NW RFC lib will not attempt to create non-existing directories. \out *errorInfo Detail information in case of an invalid traceEncoding input. \return RFC_RC