path: root/commands.h
diff options
authorDavid Sterba <>2017-08-24 18:32:18 +0200
committerDavid Sterba <>2017-08-24 19:08:24 +0200
commita67efe43629e68039591c361fe4abd4656e0a71a (patch)
treef7866d578de6cd0347d8ea03d3410b5a7e87b3be /commands.h
parentd7dd9d00e944ee2308ee23f7881fb1b58edf7214 (diff)
btrfs-progs: move command definitions to commands.h
There are some trivial helpers, we can group the command declarations in one place. Signed-off-by: David Sterba <>
Diffstat (limited to 'commands.h')
1 files changed, 10 insertions, 0 deletions
diff --git a/commands.h b/commands.h
index 01bf387e..76991f2b 100644
--- a/commands.h
+++ b/commands.h
@@ -89,9 +89,16 @@ extern const char * const cmd_chunk_recover_usage[];
extern const char * const cmd_super_recover_usage[];
extern const char * const cmd_restore_usage[];
extern const char * const cmd_rescue_usage[];
+extern const char * const cmd_inspect_dump_super_usage[];
+extern const char * const cmd_inspect_dump_tree_usage[];
+extern const char * const cmd_inspect_tree_stats_usage[];
+extern const char * const cmd_filesystem_du_usage[];
+extern const char * const cmd_filesystem_usage_usage[];
int cmd_subvolume(int argc, char **argv);
int cmd_filesystem(int argc, char **argv);
+int cmd_filesystem_du(int argc, char **argv);
+int cmd_filesystem_usage(int argc, char **argv);
int cmd_balance(int argc, char **argv);
int cmd_device(int argc, char **argv);
int cmd_scrub(int argc, char **argv);
@@ -99,6 +106,9 @@ int cmd_check(int argc, char **argv);
int cmd_chunk_recover(int argc, char **argv);
int cmd_super_recover(int argc, char **argv);
int cmd_inspect(int argc, char **argv);
+int cmd_inspect_dump_super(int argc, char **argv);
+int cmd_inspect_dump_tree(int argc, char **argv);
+int cmd_inspect_tree_stats(int argc, char **argv);
int cmd_property(int argc, char **argv);
int cmd_send(int argc, char **argv);
int cmd_receive(int argc, char **argv);