revert between 56095 -> 55830 in arch
[AROS.git] / rom / filesys / SFS / FS / btreenodes.h
blobffabce3cb68eb49fed6a0b7cd36b12978615c40d
1 #ifndef _BTREENODES_H
2 #define _BTREENODES_H
4 #include <exec/types.h>
5 #include <libraries/iffparse.h>
6 #include "blockstructure.h"
8 /* Structures used by BNode trees */
10 struct BNode {
11 ULONG be_key;
12 ULONG be_data;
15 struct BTreeContainer {
16 UWORD be_nodecount;
17 UBYTE isleaf;
18 UBYTE nodesize; /* Must be a multiple of 2 */
20 struct BNode bnode[0];
23 #define BNODECONTAINER_ID AROS_LONG2BE(MAKE_ID('B','N','D','C'))
25 struct fsBNodeContainer {
26 struct fsBlockHeader bheader;
27 struct BTreeContainer btc;
30 #endif // _BTREENODES_H