FTAM/9000 Programmer's Guide

134 Chapter 3
HP FTAM/9000 Data Structures
Ft_fadu_identity
Ft_fadu_identity
struct Ft_fadu_identity {
enum Ft_fadu_form fadu_form;
union Ft_fadu_info fadu_info;
};
Ft_fadu_identity identifies the whole file (the single FADU) for FTAM-1,
FTAM-3, and INTAP-1 files. This structure also identifies either the
whole file or individual FADUs for FTAM-2 files. Use the identified
FADUs to erase, read, and write (FTAM-1, FTAM-2, and FTAM-3) and to
locate (FTAM-2 only).
Ft_fadu_form
enum Ft_fadu_form {
FT_FADU_LOCATION = 0,
FT_FADU_NAME = 1,
FT_FADU_NAME_LIST = 2,
FT_FADU_NUMBER = 3
};
Ft_fadu_form is the type for the fadu_form field in Ft_fadu_identity.
Ft_fadu_identity Is Input To
These Functions
Ft_fadu_identity Is Output
From These Functions
ft_erase()
ft_locate()
ft_read()
ft_write()
ft_locate()
fadu_form The fadu_form indicates you will use either a FADU
location or number. For HP-UX responders, you must use
location.
fadu_info The fadu_info specifies the FADU location or number.