FTAM/9000 Programmer's Guide

52 Chapter 2
Using HP FTAM/9000
Using Functions
Context Free (CF) and Context Sensitive (CS)
Functions
The term context refers to a dependency on the use of other functions.
Available Functions
Figure 2-2 shows the low level FTAM functions available per regime. For
example, you call ft_select() or ft_create() in the FTAM regime to move to
the File Selection regime, where you can call ft_rattributes(),
ft_cattributes(), and ft_open(). To move out of the File Selection regime,
you call ft_deselect() or ft_delete().
Note that you do not have to be in a regime to call those functions shown
outside the regimes.
Context Free A function that is context free does not depend on
prior use of other FTAM functions. You can call a
context free function at any time.
All context free functions are high level services:
ft_fcopy(), ft_fmove(), ft_frattributes(),
ft_fcattributes(), and ft_fdelete().
Context
Sensitive
A function that is context sensitive depends on
prior use of other FTAM functions. You must call
context sensitive functions in the correct sequence
as defined by the FTAM protocol.
All context sensitive functions are low level
services except for ft_fopen() and ft_fclose().