OSI/FTAM Programming Reference Manual

NonStop FTAM Programming Examples
HP NonStop OSI/FTAM Programming Reference Manual528611-001
G-32
Example 1 in C—Updating a Remote File (in Nowait
Mode)
778 /* the action result and display any diagnostic messages. Then */
779 /* set the flag to indicate that the file update is complete. */
780 /****************************************************************/
781
782 error = FTM_P_ABORT_IND_ ( cepi
783 , &action_result
784 , (int *) &diag );
785
786 check_error ();
787 check_action_diag ();
788
789 printf ( "The association has been aborted\n" );
790
791 remote_file_update_cmplt = TRUE;
792
793 break;
794 case ZFTM_VAL_EVT_UABORT_IND:
795
796 /****************************************************************/
797 /* Retrieve the FTM user-abort indication data. Check the */
798 /* action result and display any diagnostic messages. Then */
799 /* set the flag to indicate that the file update is complete. */
800 /****************************************************************/
801
802 error = FTM_U_ABORT_IND_ ( cepi
803 , &action_result
804 , (int *) &diag );
805
806 check_error ();
807 check_action_diag ();
808
809 printf ( "The association has been aborted\n" );
810
811 remote_file_update_cmplt = TRUE;
812
813 break;
814 case ZFTM_VAL_EVT_CANCEL_IND:
815
816 /***************************************************************/