The aftp_extract_trace_level call extracts the current trace level setting. If the aftp_set_trace_level call has not been invoked, the AFTP default trace level value is returned. The default value is AFTP_LVL_NO_TRACING.
AFTP_ENTRY aftp_extract_trace_level(
OUT AFTP_TRACE_LEVEL_TYPE AFTP_PTR trace_level,
OUT AFTP_RETURN_CODE_TYPE AFTP_PTR return_code
);
{
AFTP_RETURN_CODE_TYPE rc;
AFTP_TRACE_LEVEL_TYPE trace_level;
/*
* There are no prerequisite calls for this call.
*/
aftp_extract_trace_level(&trace_level, &rc);
if (rc != AFTP_RC_OK) {
fprintf(stderr, "Error extracting trace level\n");
}
}
None.