FTAM/9000 Programmer's Guide
Chapter 8 321
Transferring HP FTAM/9000 Data
Writing Data
ft_write() Parameters
ft_sdata()
#include %</opt/ftam/include/map.h>
#include %</opt/ftam/include/mapftam.h>
Return_code
ft_sdata (connection_id, data_unit, return_event_name,
inout_dcb)
Connection_id connection_id;
struct Ft_data_unit *data_unit;
Local_event_name return_event_name;
struct Ft_sdata_out_dcb **inout_dcb;
ft_write()
Parameter
Type Description
connection_id Mandatory
Input
Uniquely identifies a specific
connection to the filestore
fadu_identity Mandatory
Input
Identifies the FADU to which
you write
fadu_operation Mandatory
Input
Specifies the action you are
taking on a file; depends on
the document type
return_event_na
me
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)