HP-UX SNAplus2 Upgrade Guide (June 2003)

Porting Application Programs
NM-API
Chapter 3 45
conversion_required
Set this parameter to AP_NO (to
indicate that the application is an
NMVT-level application and not an
MDS-level application).
Callback routine supplied to
REGISTER_NMVT_APPLICATION
The callback routine supplied to the
REGISTER_NMVT_APPLICATION
verb should include the code for
processing received NMVTs (which
would have followed the
NM_RECEIVE verb in the original
application). It should also include
code for processing the MS_STATUS
indication. For more information
about the requirements for this
callback routine, refer to the
information about callback routines
in the HP-UX SNAplus2 MS
Programmers Guide.
NM_CLOSE
The NM_CLOSE verb must be replaced by the
UNREGISTER_NMVT_APPLICATION and DISCONNECT_MS_NODE
verbs. The parameters to these verbs should be set as follows:
UNREGISTER_NMVT_APPLICATION
ms_appl_name
The
ms_appl_name
parameter that
was supplied to the
REGISTER_NMVT_APPLICATION
verb (taken from the
origintr_id
parameter supplied to the
NM_OPEN verb).
DISCONNECT_MS_NODE
(no parameters required)