HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_TP_LOAD_INFO
tp_name
The TP name of the TP load info entry to be dened. This is a 64-byte EBCDIC string, padded on the right
with spaces if the name is shorter than 64 characters.
lu_alias
The LU alias of the TP load info entry to be dened. This is an 8-byte ASCII character string.
Note
This parameter can be used only if the TP is an APPC TP. If the TP is a CPI-C
application, this parameter is reserved and must be set to all zeros. CPI-C does not
support accepting incoming Attaches from a particular local LU; specifying an LU
alias (even a blank LU alias) for a CPI-C application will cause errors in routing the
incoming Attach to the TP.
def_data.description
A null-terminated text string (032 characters followed by a null character) describing the TP load info. This
string is for information only; it is stored in the nodes conguration le and returned on the QUERY_TP
verb, but SNAplus2 does not make any other use of it.
def_data.user_id
User ID required to access and run the TP.
def_data.group_id
Group ID required to access and run the TP.
def_data.timeout
Timeout in seconds after the TP is loaded.
def_data.type
Species the TP type. Possible values are:
AP_TP_TYPE_QUEUED
AP_TP_TYPE_QUEUED_BROADCAST
AP_TP_TYPE_NON_QUEUED
def_data.ltv_length
Length of the block of LTV data that is appended to this verb. Each LTV structure is specied in
TP_LOAD_INFO_LTV.
TP_LOAD_INFO_LTV
The LTV data is specied as a series of non-byte-aligned LTVs each of which consists of the following:
A 2-byte length eld with a maximum value of 258 bytes. This eld is in line format and is read or
written using NB_PUT_SHORT or NB_GET_SHORT.
A 1-byte type eld set to one of the following possible values:
AP_TYPE_TP_PATH
Path. The value string species the full path name of the TP executable.
AP_TYPE_TP_ARGUMENTS
Arguments. The value string species a command-line argument required by the TP.
267