1 #ifndef _BTREENODES_PROTOS_H
2 #define _BTREENODES_PROTOS_H
4 #include <exec/types.h>
5 #include "blockstructure.h"
6 #include "btreenodes.h"
7 #include "cachebuffers.h"
9 LONG
createbnode(BLCK rootblock
, ULONG key
, struct CacheBuffer
**returned_cb
, struct BNode
**returned_bnode
);
10 LONG
findbnode(BLCK rootblock
, ULONG key
, struct CacheBuffer
**returned_cb
, struct BNode
**returned_bnode
);
11 LONG
deletebnode(BLCK rootblock
, ULONG key
);
12 LONG
nextbnode(BLCK rootblock
, struct CacheBuffer
**io_cb
, struct BNode
**io_bnode
);
13 LONG
previousbnode(BLCK rootblock
, struct CacheBuffer
**io_cb
, struct BNode
**io_bnode
);
14 LONG
lastbnode(BLCK rootblock
, struct CacheBuffer
**returned_cb
, struct BNode
**returned_bnode
);
16 #endif // _BTREENODES_PROTOS_H