OSI/FTAM Programming Reference Manual

NonStop FTAM Programming Examples
HP NonStop OSI/FTAM Programming Reference Manual528611-001
G-18
Example 1 in C—Updating a Remote File (in Nowait
Mode)
232 zaps_ddl_data_element_hdr_def *element_hdr_ptr;
233 zaps_ddl_data_hdr_def *data_hdr_ptr;
234 zaps_ddl_filename_def aplmgr_name;
235 zaps_ddl_appl_addr_def responding_appl;
236 zaps_ddl_appl_addr_def local_appl;
237 zftm_ddl_func_units_def func_units;
238 zftm_ddl_service_class_def service_class;
239 zaps_ddl_char128_def remote_file;
240 zaps_ddl_original_error_def original_error_info;
241 zftm_ddl_requested_access_def requested_access;
242 zftm_ddl_proc_mode_def process_mode;
243 zftm_ddl_cntnts_list_def contents_type_list;
244 zftm_ddl_cntnts_type_def contents_type;
245 zftm_ddl_fadu_id_def fadu_id;
246 zftm_ddl_diagnostic_def diag;
247
248 /**********************************************************************/
249 /* End global data declarations */
250 /**********************************************************************/
251
252 /**********************************************************************/
253 /* Local function declarations */
254 /**********************************************************************/
255
256 void ftam_io_cmpl ();
257 void ftam_event_rcvd ();
258 void init_cnf_open_req ();
259 void open_cnf_write_req ();
260 void transend_cnf_close_req ();
261 void close_cnf_terminate_req ();
262 void data_transfer ();
263 void check_status ();
264 void check_error ();
265 void check_action_diag ();
266 void bad_state ();
267
268
269 #pragma PAGE "INSERT"
270 /**********************************************************************/