Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- Bacula® is a registered trademark of John Walker.
+ Bacula® is a registered trademark of Kern Sibbald.
The licensor of Bacula is the Free Software Foundation Europe
(FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
Switzerland, email:ftf@fsfeurope.org.
return true;
}
+uint64_t get_record_address(DEV_RECORD *rec)
+{
+ return ((uint64_t)rec->File)<<32 | rec->Block;
+}
/*
* Read a Record from the block
char buf1[100], buf2[100];
remlen = block->binbuf;
- rec->Block = block->BlockNumber;
- rec->File = ((DEVICE *)block->dev)->file;
/* Clear state flags */
rec->state = 0;
if (block->dev->is_tape()) {
rec->state |= REC_ISTAPE;
}
-
+ rec->Block = ((DEVICE *)block->dev)->EndBlock;
+ rec->File = ((DEVICE *)block->dev)->EndFile;
/*
* Get the header. There is always a full header,