HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DELETE_TP
Chapter 3474
DELETE_TP
DELETE_TP deletes a TP definition.
VCB Structure
typedef struct delete_tp
{
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 tp_name[64]; /* TP name */
} DELETE_TP;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_DELETE_TP
tp_name
Name of the TP to be deleted.
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameters:
primary_rc
AP_OK
Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2
returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
Possible values are:
AP_INVALID_TP_NAME
The
tp_name
parameter did not
match the name of a defined TP.