* fhandler_tape.cc (mtinfo_drive::_set_pos): Take additional dont_wait

parameter.  Use in call to SetTapePosition.
	(mtinfo_drive::set_pos): Accomodate _set_pos calls to above change.
	(mtinfo_drive::set_partition): Ditto.
	* mtinfo.h (mtinfo_drive::_set_pos): Change declaration accordingly.
This commit is contained in:
Corinna Vinschen
2004-04-19 13:07:55 +00:00
parent 6f3375a5bf
commit 1facc71a35
3 changed files with 17 additions and 9 deletions

View File

@@ -91,7 +91,7 @@ class mtinfo_drive
: ((_dp.FeaturesLow & parm) != 0));
}
int get_pos (HANDLE mt, long *ppartition = NULL, long *pblock = NULL);
int _set_pos (HANDLE mt, int mode, long count, int partition);
int _set_pos (HANDLE mt, int mode, long count, int partition, BOOL dont_wait);
int create_partitions (HANDLE mt, long count);
int set_partition (HANDLE mt, long count);
int write_marks (HANDLE mt, int marktype, DWORD count);