xref: /haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/Volume.cpp (revision 4d8811742fa447ec05b4993a16a0931bc29aafab)
1 /* Volume - emulation for the B+Tree torture test
2 **
3 ** Initial version by Axel Dörfler, axeld@pinc-software.de
4 ** This file may be used under the terms of the MIT License.
5 */
6 
7 
8 #include "Volume.h"
9 
10 #include <stdio.h>
11 
12 
13 void
14 Volume::Panic()
15 {
16 	printf("PANIC!\n");
17 }
18 
19 
20 int32
21 Volume::GenerateTransactionID()
22 {
23 	static int32 sTransactionID = 1;
24 	return sTransactionID++;
25 }
26