OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide

The GPI Library
OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide424822-001
2-12
Procedure Declaration Files
The GPI Reference Manual contains Data Definition Language (DDL) definitions for
each of these data types. For example, the following is the DDL definition for
OM-DESCRIPTOR, a data type which is an attribute descriptor.
Procedure Declaration Files
The external declarations for GPI procedures are provided in the TAL and C files,
GPIEXT and GPIEXTH.
For applications coded in TAL, you must include GPIDEFS and GPIEXT in the
beginning of your program using the ?SOURCE directive. For applications coded in C,
you must include GPIDEFSH and GPIEXTH using the #include directive.
After the distribution subvolume for the Compaq OSI/MHS GPI product is installed, all
four declaration files are located in the following subvolume on your system:
$disk.ZOSIGI
where disk is the name of the volume where the software is installed.
GPI external constants Constants for defaults and parameter boundaries used by
GPI procedures
GPI external structure types Constants for identifiers of information buffer structures
GPI intermediate definitions Types of information buffer structures
GPI external definitions Data types within each type of information buffer
structure
GPI event messages Constants for GPI event logging
DEFINITION OM-DESCRIPTOR.
02 TYPE TYPE OM-TYPE.
02 SYNTAX TYPE OM-SYNTAX.
02 VALUE TYPE OM-VALUE.
END
Note. The GPIDEFS and GPIDEFSH files contain TAL and C versions of the DDL definitions.
In these versions, underscores rather than hyphens are used in DDL names. Be sure to use
underscores when coding DDL names for your TAL or C program. In addition, because the C
language distinguishes uppercase and lowercase letters, C programmers must use the DDL
names exactly as they are declared in the GPIDEFSH file or create their own declarations file.
Table 2-8. Data Declaration File Contents (page 2 of 2)
Section Defines