btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / bin / bfs_tools / lib / dump.h
blob54635fd81af415630d7b543fc295150cf97e14dd
1 /*
2 * Copyright 2001-2010 pinc Software. All Rights Reserved.
3 * Released under the terms of the MIT license.
4 */
5 #ifndef DUMP_H
6 #define DUMP_H
9 #include "bfs.h"
12 struct bplustree_node;
13 struct bplustree_header;
14 class Inode;
17 extern void dump_block_run(const char* prefix, const block_run& run,
18 const char *postfix = NULL);
19 extern void dump_super_block(const disk_super_block* superBlock);
20 extern void dump_data_stream(const bfs_inode* inode, const data_stream* stream,
21 bool showOffsets = false);
22 extern void dump_small_data(Inode* inode);
23 extern void dump_inode(const Inode* node, const bfs_inode* inode,
24 bool showOffsets = false);
25 extern char* get_tupel(uint32 id);
27 extern void dump_bplustree_header(const bplustree_header* header);
28 extern void dump_bplustree_node(const bplustree_node* node,
29 const bplustree_header* header, Disk* disk = NULL);
31 extern void dump_block(const char *buffer, uint32 size, int8 valueSize = 0);
33 #endif /* DUMP_H */