summaryrefslogtreecommitdiff
path: root/cmds-inspect-dump-tree.h
diff options
context:
space:
mode:
authorAlexander Fougner <fougner89@gmail.com>2016-02-22 15:49:49 +0100
committerDavid Sterba <dsterba@suse.com>2016-03-14 13:42:47 +0100
commitfcd480a4d0932a4c6a12a504d3cf2e0c175ae190 (patch)
tree0895500a3a6936c4eb5a4f9865b4415512f4403d /cmds-inspect-dump-tree.h
parent9459f3650ca1e21292c556088c8395beee082a00 (diff)
btrfs-progs: copy functionality of btrfs-debug-tree to inspect-internal subcommand
The long-term plan is to merge the features of standalone tools into the btrfs binary, reducing the number of shipped binaries. Signed-off-by: Alexander Fougner <fougner89@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-inspect-dump-tree.h')
-rw-r--r--cmds-inspect-dump-tree.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/cmds-inspect-dump-tree.h b/cmds-inspect-dump-tree.h
new file mode 100644
index 00000000..4481f8cd
--- /dev/null
+++ b/cmds-inspect-dump-tree.h
@@ -0,0 +1,24 @@
+/*
+ * 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.
+ */
+
+#ifndef __CMDS_INSPECT_DUMP_TREE_H__
+#define __CMDS_INSPECT_DUMP_TREE_H__
+
+int cmd_inspect_dump_tree(int ac, char **av);
+
+extern const char * const cmd_inspect_dump_tree_usage[];
+
+#endif