Step 2: Establish An Association; Initialize The A/P Environment - HP A4500A - VMEbus Single Board Computer 744 Motherboard Programmer's Manual

Acse/presentation and rose interface programmer's guide
Hide thumbs Also See for A4500A - VMEbus Single Board Computer 744 Motherboard:
Table of Contents

Advertisement

Using ACSE/Presentation

Step 2: Establish an Association

Step 2: Establish an Association
The steps to establish an association are described below.

Initialize the A/P Environment

To use the A/P services, each process must initialize the
ACSE/Presentation environment by calling ap_init_env(). (See Figure
3-2.)
The ap_init_env() call allocates memory for the environment attributes,
and sets the attributes to default values. (See the AP_ENV Table of
Attributes in Appendix A for more information.)
Since this implementation does not support the environment file, the
env_file parameter is ignored.
To modify defaulted attribute values, the ap_set_env() call is used as
shown in the following steps.
Figure 3-2
Initialize Environment
Process A
Process B
AP Environment A
AP Environment B
ap_init_env()
ap_init_env()
Communication
Communication
Endpoint B
Endpoint A
34
Chapter 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents