FTAM/9000 Programmer's Guide

Chapter 3 119
HP FTAM/9000 Data Structures
Ft_data_unit
Ft_data_unit
struct Ft_data_unit {
struct Ft_data_unit *next;
enum Ft_structure_id structure_id;
union {
struct Ft_data_element *data_element;
struct Ft_node_descriptor *node;
} data;
};
Ft_data_unit is a linked list of data units (maximum 14 data units per
call). Each data unit contains the data that FTAM manipulates (Figure
3-8).
The responder uses Ft_data_unit to return data when you call ft_rdata().
For variable and fixed data, data element boundaries are preserved. You
receive the exact sequence of data elements that existed in the original
file.
If Ft_string_significance is FT_SS_NO_SIGNIFICANCE, data element
boundaries are ignored. Up until the final data element, the responder
returns the maximum string_length allowed per data element. The final
data element contains the remaining data.
Ft_data_unit Is Input To
These Functions
Ft_data_unit Is Output From
These Functions
ft_sdata() ft_rdata()