FTAM/9000 Programmer's Guide

Chapter 3 109
HP FTAM/9000 Data Structures
Ft_concurrency_control
Ft_concurrency_control
struct Ft_concurrency_control {
enum Ft_file_lock read;
enum Ft_file_lock insert;
enum Ft_file_lock replace;
enum Ft_file_lock extend;
enum Ft_file_lock erase;
enum Ft_file_lock read_attribute;
enum Ft_file_lock change_attribute;
enum Ft_file_lock delete_file;
};
file_availability The file_availability is of the following type:
enum Ft_file_availability {
FT_IMMEDIATE_AVAIL,
FT_DEFERRED_AVAIL
};
For HP-UX responders, you can access the file immediately
regardless of which value you select. For some implementations,
file_availability indicates whether a delay occurs before you can
access the file.
filesize Specifies the maximum size (in Octets) of the file.
future_filesize Specifies the maximum size (in Octets) to which the file may grow if
you modify or extend it. HP-UX responders return a value of zero
(no value) on calls to ft_rattributes() or ft_frattributes().
access_control Defines the conditions under which you and other users can access
the file. The access_control is of type struct Ft_access_control and
specifies who can access the file, their access privileges, types of file
locks, and user passwords. Refer to the “Ft_access_control” section
for a detailed explanation.
legal_qualifications Conveys information about the legal status of the file and its use.
HP-UX responders return a value of zero (no value) on calls to
ft_rattributes() or ft_frattributes().
private_use HP-UX responders return a value of zero (no value) on calls to
ft_rattributes() or ft_frattributes().