FTAM/9000 Programmer's Guide
430 Chapter 11
Document Types and Constraint Sets
Document Types
Document Types
Document types define the semantics for classes of files. A document type
defines the type of file contents by specifying a constraint set and the
possible data types in the file. Example file types include text files,
binary files, sequential files, and directories.
The following table shows information about the parameters in the
cont_type.contents_info.document->parameters field for FTAM-1,
FTAM-2, FTAM-3, and INTAP-1 document types. In all cases, the
maximum string length is 6144 octets.
The NBS-9 document type parameter is used only on the ft_open() call.
The attribute names you optionally supply list the attributes you will
receive for each file in the directory. The default for HP-UX responders is
all attributes. Other responders may have different defaults.
NOTE Refer to the “FTAM Data Structures” chapter for detailed information on
setting document types using the Ft_document_type structure.
Document
Type
String Type String Significance
FTAM-1 General String (Default
type)
Not Significant
Visible String Variable or Fixed
Graphic String Variable or Fixed
Ia5 String Not Significant
FTAM-2 Visible String Not Significant
Graphic String (Default
type)
Not Significant
FTAM-3 Octet String Not Significant
INTAP-1 Octet String Variable or Fixed