示例#1
0
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;
}
示例#2
0
文件: ndma_data.c 项目: AlD/bareos
void
ndmda_data_stop (struct ndm_session *sess)
{
	ndmda_decommission (sess);
}
示例#3
0
文件: ndma_data.c 项目: AlD/bareos
/* Belay -- Cancel partially issued activation/start */
int
ndmda_belay (struct ndm_session *sess)
{
	ndmda_fh_belay (sess);
	return ndmda_decommission (sess);
}