311774605888b0f378021184224f8b8b99abc0df
3 $Id: main.cpp,v 1.4 2006/11/20 01:20:11 hachti Exp $
5 Revision 1.4 2006/11/20 01:20:11 hachti
6 *** empty log message ***
8 Revision 1.3 2006-11-20 01:19:48 hachti
15 #include "tape_block.hh"
16 #include "data_block.hh"
18 void tape_start(void* m
){
19 printf("tape_start\n");
22 void tape_stop(void* m
){
23 printf("tape_stop\n");
27 tape_block
* myblock
=0;
29 if (myblock
) delete myblock
;
30 myblock
=tape_block::gen_from_fd(0);
32 vector
<string
> desc
=myblock
->get_description();
33 for (vector
<string
>::iterator iter
=desc
.begin();
34 iter
!=desc
.end();iter
++)
35 printf("%s\n",(*iter
).c_str());
36 } while (myblock
->get_state()==tape_block::TBS_OK
);