FTAM/9000 Programmer's Guide

258 Chapter 6
Managing HP FTAM/9000 Connections
Establishing and Removing Connections
To have the system set the Ae_dir_name, call convert_ddn; the source
is in /opt/ftam/demos/cnvrt_addr.c.
For instructions on using these utilities, read the on-line README
document in /opt/ftam/demos/cnvrt_addr.c. The “Example Programs”
chapter also contains the source for convert_paddr and convert_ddn.
For HP-UX responders, the login name
(connect_in_info.initiator_identity) must exist on the remote node,
and the file_store_pw must be that user's password. Other responders
may or may not have similar expectations.
The inout_dcb structure contains the responder's reply to the
requested connection parameters.
Ft_connect_in_dcb
struct Ft_connect_in_dcb {
struct P_address called_presentation_address;
enum Ae_title_option called_ae_title_option;
Ae_title *called_ae_title;
Uint32 called_ae_invoke_id;
Uint32 called_ap_invoke_id;
Uint8 number_of_retry;
Uint32 delay_between_retry;
Uint32 connection_resource_wait_timer;
struct Object_id context_name;
struct Ft_connect_req_info connect_in_info;
};
struct Ft_connect_req_info {
Ft_service_class service_class;
Ft_functional_units functional_units;
Ft_attribute_groups attribute_groups;
enum Ft_qos quality_of_service;
struct Ft_contents_type_element *contents_type_list;
Ft_initiator_identity initiator_identity;
Ft_account account;
Ft_single_file_pw file_store_pw;
};