Esempio n. 1
0
int
ndmis_tape_close (struct ndm_session *sess)
{
	struct ndm_image_stream *is = &sess->plumb.image_stream;
	struct ndmis_end_point	*mine_ep = &is->tape_ep;
	struct ndmis_end_point	*peer_ep  = &is->data_ep;

	return ndmis_ep_close (sess, mine_ep, peer_ep);
}
Esempio n. 2
0
int
ndmis_tape_close (struct ndm_session *sess)
{
	struct ndm_image_stream *is = sess->plumb.image_stream;

	if (is) {
		return ndmis_ep_close (sess, &is->tape_ep, &is->data_ep);
	} else {
		return 0;
	}
}