FTAM/9000 Programmer's Guide
Chapter 3 107
HP FTAM/9000 Data Structures
Ft_attributes
filename Character string that identifies the name of the file.
permitted_actions Specifies all allowable actions on the file (without specifying who is
allowed to perform the actions). The permitted_actions is type
Ft_permitted_actions.
• For each file, set bits in permitted_actions for the actions you are
allowing to be performed. Use these defined constants:
FT_PA_READ
FT_PA_INSERT
FT_PA_REPLACE
FT_PA_EXTEND
FT_PA_ERASE
FT_PA_READ_ATTRIBUTE
FT_PA_CHANGE_ATTRIBUTE
FT_PA_DELETE_FILE
FT_PA_TRAVERSAL
FT_PA_REV_TRAVERSAL
FT_PA_RANDOM_ORDER
• Each document type defines certain permitted_actions values, as
follows:
FTAM-1, -2, -3, INTAP-1 FTAM-1, FTAM-3 FTAM-2
and NBS-9 and INTAP-1
CHANGE_ATTRIBUTE ERASE ERASE
DELETE_FILE EXTEND INSERT
READ REPLACE TRAVERSAL
READ_ATTRIBUTE
contents_type Specifies the document type of the file; the contents_type is of type
struct Ft_contents_type. Refer to the “Ft_contents_type” section for
a detailed explanation.