FTAM/9000 Programmer's Guide

Chapter 10 359
Example Programs
Managing FTAM Connections Example
/*
** Deactivate “ftam_init”.
**
** Get the parameters for ft_aedeactivation.
** Call ft_aedeactivation and verify the outcome.
*/
(void)printf(“Deactivating ftam_init...\n”);
aed_parm_in( & return_event_name, & aed_inout_dcb );
res = ft_aedeactivation(ae_label, return_event_name, & aed_inout_dcb);
if (res != SUCCESS)
error_handler(aed_inout_dcb->result, diag);
/*
** Free memory.
*/
res = ft_dfdcb((Octet *)aed_inout_dcb, & outcome);
if (res != SUCCESS)
error_handler(outcome, diag);
(void)printf(“ftm_connect: finished\n”);
return(SUCCESS);
}