Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ snalu62_get_type(3) — SNA APPC LU6.2 3.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

snalu62_get_type(3)  —  Subroutines

 
 
 
 

Name

snalu62_get_type − Returns a value indicating the type of the specified conversation. 
 
 
 

FORMAT

STATUS_RTN snalu62_get_type(
     RES_ID resource,
     STATUS_VEC status_vec,
     UINT32 ∗type
     );
 
 
 

Valid Conversation States

 
All except Reset
 
 

Arguments

 

resource
 
A RES_ID structure assigned to the conversation by the interface. This ID was returned by the snalu62_allocate, snalu62_attach_listen, or snalu62_receive_allocate verb. 
 
 

status_vec
 
A pointer to a STATUS_VEC array to receive the completion status information. 
 
 

type
 
A pointer to a UINT32 location to receive a value indicating the type of conversation allocated.  It can be one of the following values:
 

•SNALU62_C_BASIC

•SNALU62_C_MAPPED
 
 
 

Description

 
A transaction program that can support either basic conversations or mapped conversations calls this verb to determine which category of verbs (and verb parameters), basic or mapped, it should use for this conversation.

 
A transaction program that supports more than one conversation type should call snalu62_get_type as the first verb after a call to snalu62_receive_allocate or snalu62_attach_listen.  The value returned for the type parameter indicates what type of conversation was started. 
 

Return Values

 

SNALU62_S_OK
normal successful completion

SNALU62_S_CONVCANC
conversation canceled

SNALU62_S_PRGPARCHK
program parameter check

SNALU62_S_PARERR
parameter error, function-name

SNALU62_S_UNSUC
verb did not execute successfully
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026