FTAM/9000 Programmer's Guide
Chapter 8 327
Transferring HP FTAM/9000 Data
Ending Data Transfer
ft_etransfer() Parameters
ft_cancel()
#include %</opt/ftam/include/map.h>
#include %</opt/ftam/include/mapftam.h>
Return_code
ft_cancel (connection_id, return_event_name, input_dcb,
inout_dcb)
Connection_id connection_id;
Local_event_name return_event_name;
struct Ft_cancel_in_dcb *input_dcb;
struct Ft_cancel_out_dcb **inout_dcb;
ft_etransfer()
Parameter
Type Description
connection_id Mandatory
Input
Uniquely identifies a
specific connection to the
filestore
return_event_name Mandatory
Input
If the call is asynchronous,
uniquely identifies the
function call; if the call is
synchronous, the value is
zero
input_dcb Optional Input Contains no information;
pass a NULL pointer
inout_dcb->size Mandatory
input if using
inout_dcb
Size (in Octets) of the
inout_dcb structure and
data
inout_dcb->result Output Pointer to the struct Api_rc
containing the outcome of
the operation: result_code
and vendor_code
(HP-UX—specific error)
inout_dcb-
>action_result
Output Specifies the overall success
or failure of the request
inout_dcb->diagnostic Output Provides ISO-specific error
information