FTAM/9000 Programmer's Guide
Chapter 3 135
HP FTAM/9000 Data Structures
Ft_fadu_identity
• The value specified in fadu_form dictates the value used in fadu_info.
• For HP-UX responders, you must specify FT_FADU_LOCATION.
HP-UX responders return an error if you use FT_FADU_NAME,
FT_NAME_LIST, or FT_NUMBER.
Ft_fadu_info
union Ft_fadu_info {
enum Ft_fadu_location fadu_location;
Ft_fadu_name fadu_name;
struct Ft_fadu_name_list fadu_name_list;
Sint32 fadu_number;
};
Ft_fadu_info is the type for fadu_info in struct Ft_fadu_identity and is
also the union for the enum Ft_fadu_form.
Ft_fadu_info specifies the actual fadu_identity location.
fadu_location Specifies the FADU location you want to access
within a file. If you selected FT_FADU_LOCATION
in Ft_fadu_form, you must specify fadu_location.
• The fadu_location is of the type Ft_fadu_location.
enum Ft_fadu_location {
FT_FIRST = 0,
FT_LAST = 1,
FT_PREVIOUS = 2,
FT_CURRENT = 3,
FT_NEXT = 4,
FT_BEGIN = 5,
FT_END = 6
};
FT_FIRST First FADU in the file.
FT_LAST * Last FADU in the file.
FT_PREVIOUS* The FADU immediately before the FADU where
the file pointer is currently located.
FT_CURRENT * The FADU where the file pointer is currently
located.