FTAM/9000 Programmer's Guide
284 Chapter 7
Managing and Accessing HP FTAM/9000 Files
Gaining Access to FTAM Files
ft_delete() (LLCS)
#include %</opt/ftam/include/map.h>
#include %</opt/ftam/include/mapftam.h>
Return_code
ft_delete (connection_id, return_event_name, input_dcb,
inout_dcb)
Connection_id connection_id;
Local_event_name return_event_name;
char *input_dcb;
struct Ft_delete_out_dcb **inout_dcb;
Use ft_delete() to remove a file from the filestore.
• The ft_delete() input_dcb parameter does not contain information;
therefore, pass a NULL pointer for the input_dcb parameter.
• Invoke ft_delete() in the File Selection regime to move back to the
FTAM regime after deleting the file.
• During ft_connect(), you must negotiate the FT_FU_LTD_MGMT
functional_units to use ft_delete().
• During ft_select(), ft_create(), and ft_fopen() you must specify
FT_FA_DELETE_FILE in requested_access to use ft_delete().
Ft_delete_out_dcb
struct Ft_delete_out_dcb {
Uint32 size;
struct Api_rc result;
enum Ft_action_result action_result;
struct Ft_charging *charging;
struct Ft_diagnostic *diagnostic;
};