HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)

Writing CPI-C Applications
CPI-C Call Summary
Chapter 2 65
CPI-C Call Summary
This section briefly describes each CPI-C call. They are grouped by
function. For a more detailed explanation of a particular call, see
Chapter 3, “CPI-C Calls.
The “names” of the calls are pseudonyms. The actual C function names
appear in parentheses after the pseudonym. For example
Initialize_Conversation is the pseudonym for a call. The actual function
name is cminit.
It may also be necessary to set the local TP and LU names that the
program will use. For more information about this, see “Specifying the
Local TP Name” and “Specifying the Local LU”.
Starting a Conversation
The following calls are used to start a conversation between two
programs. For more information about this subject, see “How Programs
Get Started”.
You may also need to set the local TP name and LU name that the
program will use. For information about setting these, see “Specifying
the Local TP Name” and “Specifying the Local LU”.
WinCPICStartup
For Windows This call registers the application as a Windows CPI-C application, and
determines whether the CPI-C software supports the level of function
required by the application. A Windows CPI-C application must use this
call before issuing any other CPI-C calls.
End of Section Initialize_Conversation (cminit)
This call is issued by the invoking program to obtain a conversation ID
and to set the initial values for the conversation's characteristics. The
initial values are derived from side information associated with the
symbolic destination name, or are CPI-C defaults.