FTAM/9000 Programmer's Guide

136 Chapter 3
HP FTAM/9000 Data Structures
Ft_fadu_identity
*Invalid for use with HP-UX responders.
Use only FT_FIRST for FTAM-1, FTAM-3, INTAP-1, and NBS-9
document types (constrained by the Unstructured All constraint set).
Use any of the fields for FTAM-2 document type (constrained by the
Sequential Flat constraint set).
You can locate, read, write, and erase the whole file or leaf FADUs as
defined in the following table. Remember, only FTAM-2 files have leaf
FADUs.
For example, you can locate any of the individual FADUs, but you can
only erase the whole file.
FT_NEXT The FADU immediately after the FADU where
the file pointer is currently located.
FT_BEGIN For ft_read(), ft_write(), and ft_erase(), initial
location in the file, before all FADUs. For
ft_locate(), earliest FADU in the file.
FT_END The final location in the file, after all FADUs.
ft_locate() ft_read() ft_write() ft_erase()
Begin Leaf FADU Whole File Whole File
End End of File End of File
First Leaf FADU Leaf FADU
Last Leaf FADU Leaf FADU
Current Leaf FADU Leaf FADU
Next Leaf FADU Leaf FADU
Previous Leaf FADU Leaf FADU
fadu_name
fadu_name_list
fadu_number
HP-UX responders return an error if you use these
fields.