enum Ft_access_context { FT_AC_ENUM_DEFAULT = -1, FT_HIERARCHICAL_ALL_DATA_UNITS = 0, FT_HIERARCHICAL_NO_DATA_UNITS = 1, FT_FLAT_ALL_DATA_UNITS = 2, FT_FLAT_ONE_LEVEL_DATA_UNITS = 3, FT_FLAT_SINGLE_DATA_UNIT = 4, FT_UNSTRUCTURED_ALL_DATA_UNITS = 5, FT_UNSTRUCTURED_SINGLE_DATA_UNIT = 6};
Ft_access_context Is Input To These Functions
Ft_access_context Is Output From These Functions
ft_read()
None
Ft_access_context specifies how you want to read the file depending on the document type.
For FTAM-1, FTAM-3, and INTAP-1 files, you must specify FT_UNSTRUCTURED_ALL_DATA_UNITS.
For FTAM-2 files, you must specify either FT_FLAT_ALL_DATA_UNITS or FT_UNSTRUCTURED_ALL_DATA_UNITS.
FT_FLAT_ALL_DATA_UNITS
For FTAM-2 files, specifies that you will see both file structure and data.
FT_UNSTRUCTURED_ALL_DATA_UNITS
For FTAM-2 files, specifies that you will see only data. For FTAM-1 and FTAM-3 files, reads the whole file.
FT_AC_ENUM_DEFAULT
FT_HIERARCHICAL_ALL_DATA_UNITS
FT_HIERARCHICAL_NO_DATA_UNITS
FT_FLAT_ONE_LEVEL_DATA_UNITS
FT_FLAT_SINGLE_DATA_UNIT
FT_UNSTRUCTURED_SINGLE_DATA_UNIT
HP-UX responders return an error if you use one of these values.