OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide

The GPI Library
OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide424822-001
2-11
Declaration Files
Declaration Files
The declaration files provide definitions for the GPI library procedures and for data
types that are used as parameters to GPI procedure calls. The name and contents of each
declaration file are listed in Table 2-7
.
Data Declaration Files
The data declaration files define data types used as parameters to GPI procedure calls.
GPIDEFS and GPIDEFSH files are TAL and C versions of that file, respectively.
Within these files, each of the various data types is grouped into a separate section.
Table 2-8
lists each section and provides a brief description of its contents.
Table 2-7. Declaration Files
File Name Contents
GPIDEFS TAL form of data types used by GPI procedures
GPIDEFSH C form of data types used by GPI procedures
GPIEXT TAL form of GPI library procedure definitions
GPIEXTH C form of GPI library procedure definitions
Table 2-8. Data Declaration File Contents (page 1 of 2)
Section Defines
Fundamental data types Basic data types used by GPI procedures
Symbolic constants Constants for Boolean values, parameter values, and
various indicators
Syntax constants Constants for attribute syntaxes
Object management constants Constants for object management classes and attributes
Message handling constants Constants for message handling classes and attributes
Interpersonal messaging constants Constants for interpersonal messaging classes and
attributes
GPI return code constants Constants returned in status parameter
Compaq defined primary codes Constants returned in primary-code parameter of
GPI_STATUS_
Compaq defined secondary codes Constants returned in secondary-code parameter of
GPI_STATUS_
Compaq defined error classes Constants returned in error-class parameter of
GPI_STATUS_
Invocation parameter positions Constants that identify parameter positions
GPI request types Constants that identify GPI procedures