HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_LOG_FILE
Chapter 4 723
QUERY_LOG_FILE
This verb allows the application to determine the name of the file that
SNAplus2 uses to record audit or error log messages, the name of the
backup log file, and the file size at which log information is copied to the
backup file.
VCB Structure
typedef struct query_log_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 log_file_type; /* type of log file */
unsigned char file_name[81]; /* file name */
unsigned char backup_file_name[81]; /* backup file name */
AP_UINT32 file_size; /* log file size */
} QUERY_LOG_FILE;
Supplied Parameters
opcode
AP_QUERY_LOG_FILE
log_file_type
The type of log file being queried. Possible values are:
AP_AUDIT
Audit log file (audit messages only).
AP_ERROR
Error log file (problem and exception
messages).
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameters:
primary_rc