X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=print-tree.h;h=df58b846788b4ed9f11c2c7a27badcfee3f03704;hb=e764625f90f947f927f78b4166a34d9d5755ef63;hp=9cb624e0fd5982d02f2fb30701af382c6e39203f;hpb=d9f1317c7d927d3d0fc0b99762690438cafa0ead;p=platform%2Fupstream%2Fbtrfs-progs.git diff --git a/print-tree.h b/print-tree.h index 9cb624e..df58b84 100644 --- a/print-tree.h +++ b/print-tree.h @@ -16,8 +16,14 @@ * Boston, MA 021110-1307, USA. */ -#ifndef __PRINT_TREE_ -#define __PRINT_TREE_ -void btrfs_print_leaf(struct btrfs_root *root, struct btrfs_leaf *l); -void btrfs_print_tree(struct btrfs_root *root, struct btrfs_buffer *t); +#ifndef __PRINT_TREE_H__ +#define __PRINT_TREE_H__ + +void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l); +void btrfs_print_tree(struct btrfs_root *root, struct extent_buffer *t, int follow); +void btrfs_print_key(struct btrfs_disk_key *disk_key); +void print_chunk_item(struct extent_buffer *eb, struct btrfs_chunk *chunk); +void print_extent_item(struct extent_buffer *eb, int slot, int metadata); +void print_objectid(FILE *stream, u64 objectid, u8 type); +void print_key_type(FILE *stream, u64 objectid, u8 type); #endif