This section explains the syntax of the API functions which implement the XATMI interface. The text in this section is quoted from 5. C Reference Manual Pages which is the syntax reference section of the X/Open CAE Specification Distributed TP: The XATMI Specification published by X/Open Company Limited.
Additional notes on using these functions from UAPs used with the OpenTP1 are enclosed in symbols << >>.
The syntax of the following functions is explained below:
- tpacall - Send a service request
- tpadvertise - Advertise a service name
- tpalloc - Allocate a typed buffer
- tpcall - Send a service request and synchronously await its reply
- tpcancel - Cancel a call descriptor for an outstanding reply
- tpconnect - Establish a conversational service connection
- tpdiscon - Terminate a conversational service connection abortively
- tpfree - Free a typed buffer
- tpgetrply - Get a reply from a previous service request
- tprealloc - Change the size of a typed buffer
- tprecv - Receive a message in a conversational connection
- tpreturn - Return from a service routine
- tpsend - Send a message in a conversational connection
- tpservice - Template for service routines
- tptypes - Determine information about a typed buffer
- tpunadvertise - Unadvertise a service name
XATMI interface functions (tp~) can be used only for TP1/Server Base. For TP1/LiNK, XATMI interface functions cannot be used.