FTAM/9000 Programmer's Guide

278 Chapter 7
Managing and Accessing HP FTAM/9000 Files
Gaining Access to FTAM Files
FTAM uses the exposed parameters filename and contents_type and
does not use the corresponding values stored in input_dcb-
>attributes.
If the file you are selecting has access control, the following conditions
exist.
The requested_access parameter must be a subset of the values
stored in action_list field in struct Ft_access_control_element.
FTAM will detect conflicts between the initiator_id and the
identity field of the access_control_element.
The HP-UX implementation of FTAM does not use the
file_passwords parameter. Other implementations might.
Ft_select_in_dcb
struct Ft_select_in_dcb {
struct Ft_attributes attributes;
struct Ft_file_passwords file_passwords;
Ft_account account;
struct Ft_concurrency_control *concurrency_control;
};
Ft_select_out_dcb
struct Ft_select_out_dcb {
Uint32 size;
struct Api_rc result;
enum Ft_state_result state_result;
enum Ft_action_result action_result;
struct Ft_attributes attributes;
struct Ft_diagnostic *diagnostic;
};
ft_select() Parameters
ft_select()
Parameter
Type Description
connection_id Mandatory
Input
Uniquely identifies a specific connection to the
filestore
filename Mandatory
Input
Path name of the file you are selecting; must be in
the syntax of the real filestore