FTAM/9000 Programmer's Guide

326 Chapter 8
Transferring HP FTAM/9000 Data
Ending Data Transfer
ft_etransfer()
#include %</opt/ftam/include/map.h>
#include %</opt/ftam/include/mapftam.h>
Return_code
ft_etransfer (connection_id, return_event_name, input_dcb,
inout_dcb)
Connection_id connection_id;
Local_event_name return_event_name;
char *input_dcb;
struct Ft_etransfer_out_dcb **inout_dcb;
Use ft_etransfer() to end the transferring of data (ft_read() or ft_write()).
Use ft_etransfer() in one of the following sequences.
Invoking ft_etransfer() in the Data Transfer regime moves you back
to the File Open regime.
The ft_etransfer() input_dcb parameter does not contain information;
therefore, pass a NULL pointer for the input_dcb parameter.
Ft_etransfer_out_dcb
struct Ft_etransfer_out_dcb {
Uint32 size;
struct Api_rc result;
enum Ft_action_result action_result;
struct Ft_diagnostic *diagnostic;
};
ft_read() ft_rdata()
ft_etransfer()
ft_write() ft_sdata() ft_edata()
ft_etransfer()