HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
SET_TRACE_FILE
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char trace_file_type; /* type of trace file */
unsigned char dual_files; /* dual trace files */
AP_UINT32 trace_file_size; /* trace file size */
unsigned char reserv3[4]; /* reserved */
unsigned char file_name[81]; /* file name */
unsigned char file_name_2[81]; /* second file name */
} SET_TRACE_FILE;
3.183.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_SET_TRACE_FILE
trace_le_type
The type of trace le. Possible values are:
AP_CS_TRACE
File contains tracing on data transferred across the SNAplus2 LAN between the specied computer and
other nodes (activated by the SET_CS_TRACE verb).
AP_BCK_CS_TRACE
File contains tracing on data transferred across the SNAplus2 LAN between a current-level server and
back-level computers. This type of tracing is activated by the SET_BCK_CS_TRACE verb.
AP_TN_SERVER_TRACE
File contains tracing on the SNAplus2 TN server component.
AP_IPS_TRACE
File contains tracing on kernel components for the specied node (activated by the SET_TRACE_TYPE
or ADD_DLC_TRACE verb).
dual_les
Species whether tracing is to one le or to two les. Possible values are:
AP_YES
Tracing is to two les. When the rst le reaches the size specied by trace_le_size, the second
le is cleared, and tracing continues to the second le. When this le then reaches the size specied
by trace_le_size, the rst le is cleared, and tracing continues to the rst le. This ensures that
tracing can continue for long periods without using excessive disk space; the maximum space required
is approximately twice the value of trace_le_size.
AP_NO
Tracing is to one le.
AP_LEAVE_UNCHANGED
Leave the dual_les setting unchanged from the existing denition. (The initial default, when the
SNAplus2 software is started, is to use two les.)
727