int ndma_session_decommission (struct ndm_session *sess) { ndmis_decommission (sess); #ifndef NDMOS_OPTION_NO_CONTROL_AGENT /* ndmca_decommission (sess); */ #endif /* !NDMOS_OPTION_NO_CONTROL_AGENT */ #ifndef NDMOS_OPTION_NO_DATA_AGENT ndmda_decommission (sess); #endif /* !NDMOS_OPTION_NO_DATA_AGENT */ #ifndef NDMOS_OPTION_NO_TAPE_AGENT ndmta_decommission (sess); #endif /* !NDMOS_OPTION_NO_TAPE_AGENT */ #ifndef NDMOS_OPTION_NO_ROBOT_AGENT ndmra_decommission (sess); #endif /* !NDMOS_OPTION_NO_ROBOT_AGENT */ return 0; }
void ndmda_data_stop (struct ndm_session *sess) { ndmda_decommission (sess); }
/* Belay -- Cancel partially issued activation/start */ int ndmda_belay (struct ndm_session *sess) { ndmda_fh_belay (sess); return ndmda_decommission (sess); }