2007-06-12 13:07:11 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2007 Oracle. All rights reserved.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public
|
|
|
|
* License v2 as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public
|
|
|
|
* License along with this program; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 021110-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2015-01-21 16:49:26 +00:00
|
|
|
#ifndef __PRINT_TREE_H__
|
|
|
|
#define __PRINT_TREE_H__
|
|
|
|
|
2018-03-30 05:48:57 +00:00
|
|
|
void btrfs_print_leaf(struct extent_buffer *l);
|
|
|
|
void btrfs_print_tree(struct extent_buffer *t, int follow);
|
2009-06-03 16:02:23 +00:00
|
|
|
void btrfs_print_key(struct btrfs_disk_key *disk_key);
|
2017-08-31 14:34:15 +00:00
|
|
|
void print_chunk_item(struct extent_buffer *eb, struct btrfs_chunk *chunk);
|
2014-05-07 20:07:17 +00:00
|
|
|
void print_extent_item(struct extent_buffer *eb, int slot, int metadata);
|
2016-08-29 08:08:59 +00:00
|
|
|
void print_objectid(FILE *stream, u64 objectid, u8 type);
|
2016-08-29 08:09:00 +00:00
|
|
|
void print_key_type(FILE *stream, u64 objectid, u8 type);
|
2007-03-16 20:20:31 +00:00
|
|
|
#endif
|