FTAM/9000 Programmer's Guide

Chapter 3 95
HP FTAM/9000 Data Structures
Ft_access_control
For ft_open(), the processing_mode parameter must be a subset of the
values stored in action_list.
The action_list is of type Ft_file_actions. Refer to the “Ft_file_actions”
section for detailed information.
conc_access The HP-UX implementation of FTAM ignores this value. You can set
the bits in conc_access, but HP-UX initiators and responders will not
use it. Other FTAM implementations might. If you are unsure of your
situation, see the documentation for the other FTAM
implementation.
Bits in conc_access correspond to the allowable actions listed in the
action_list. Here are the allowed locks, in order, from least to most
restrictive:
File Action Lock File Owner Can Others Can
Set by conc_access Perform the Action Perform the Action
Not Required No Yes
Shared Yes Yes
Exclusive Yes No
No Access No No
Use the following defined constants to set any combination of
conc_access bits for file actions. Again, note that these locks are
ignored by HP-UX initiators and responders.
FT_AC_READ_NOTREQ FT_AC_REPLACE_NOACC FT_AC_READ_ATTRIB_EXCL
FT_AC_READ_SHARED FT_AC_EXTEND_NOTREQ FT_AC_READ_ATTRIB_NOACC
FT_AC_READ_EXCL FT_AC_EXTEND_SHARED FT_AC_CHANGE_ATTRIB_NOTREQ
FT_AC_READ_NOACC FT_AC_EXTEND_EXCL FT_AC_CHANGE_ATTRIB_SHARED
FT_AC_INSERT_NOTREQ FT_AC_EXTEND_NOACC FT_AC_CHANGE_ATTRIB_EXCL
FT_AC_INSERT_SHARED FT_AC_ERASE_NOTREQ FT_AC_CHANGE_ATTRIB_NOACC
FT_AC_INSERT_EXCL FT_AC_ERASE_SHARED FT_AC_DELETE_FILE_NOTREQ
FT_AC_INSERT_NOACC FT_AC_ERASE_EXCL FT_AC_DELETE_FILE_SHARED
FT_AC_REPLACE_NOTREQ FT_AC_ERASE_NOACC FT_AC_DELETE_FILE_EXCL
FT_AC_REPLACE_SHARED FT_AC_READ_ATTRIB_NOTREQ FT_AC_DELETE_FILE_NOACC
FT_AC_REPLACE_EXCL FT_AC_READ_ATTRIB_SHARED
identity Specifies the user to whom the access privileges pertain (the “owner”
in the previous table). For HP-UX initiators and responders, identity
must have one of the following values: user, group, or other.
The identity is of type struct Ft_initiator_identity. Refer to the
“Ft_initiator_identity” section for detailed information.