FTAM/9000 Programmer's Guide
120 Chapter 3
HP FTAM/9000 Data Structures
Ft_data_unit
Figure 3-8 Ft_data_unitcStructure
NOTE To understand Ft_data_unit, you should be familiar with the concepts
FADU, data unit, data element, and node descriptor. Refer to the “HP-UX
FTAM Overview” chapter for descriptions.
Ft_structure_id
enum Ft_structure_id {
FT_DATA_UNIT = 0,
FT_NODE_DESC = 1,
FT_ENTER_SUBTREE = 2,
FT_EXIT_SUBTREE = 3,
FT_DATA_END_IND = 4,
FT_CANCEL_IND = 5
};
Up to 14 struct Ft_data_unit per call
Ft_data_unit
*next
structure_id
data
Ft_data_unit
*next
structure_id
data
Ft_data_unit
*next
structure_id
data
*next Points to the next Ft_data_unit structures in the
linked list. The maximum is 14.
structure_id Specifies which structure in the data union is
applicable.
data The data union contains *data_element and *node.
The value you choose in Ft_structure_id dictates
which structure you choose in the data union.
• The *data_element is of type struct
Ft_data_element and contains the actual data.
• The *node is of type struct Ft_node_descriptor
and indicates a new FADU.