summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorAlexander Block <ablock84@googlemail.com>2012-07-25 23:08:25 +0200
committerChris Mason <chris.mason@fusionio.com>2012-07-26 14:51:27 -0400
commitf1c24cd80dfd037407cdee85181646adca6dd5bb (patch)
treeb1174b91b561a3e0ec41dcd0be1da6e7ff5a541e /commands.h
parenta55616ee6ccfc08605fcfc73b6b647588ec1e44a (diff)
Btrfs-progs: add btrfs send/receive commands
Add user space commands for btrfs send/receive. Signed-off-by: Alexander Block <ablock84@googlemail.com> Reviewed-by: David Sterba <dave@jikos.cz> Reviewed-by: Arne Jansen <sensille@gmx.net> Reviewed-by: Jan Schmidt <list.btrfs@jan-o-sch.net> Reviewed-by: Alex Lyakas <alex.bolshoy.btrfs@gmail.com>
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/commands.h b/commands.h
index a303a50d..1ece87ab 100644
--- a/commands.h
+++ b/commands.h
@@ -88,6 +88,8 @@ extern const struct cmd_group balance_cmd_group;
extern const struct cmd_group device_cmd_group;
extern const struct cmd_group scrub_cmd_group;
extern const struct cmd_group inspect_cmd_group;
+extern const struct cmd_group send_cmd_group;
+extern const struct cmd_group receive_cmd_group;
int cmd_subvolume(int argc, char **argv);
int cmd_filesystem(int argc, char **argv);
@@ -95,3 +97,5 @@ int cmd_balance(int argc, char **argv);
int cmd_device(int argc, char **argv);
int cmd_scrub(int argc, char **argv);
int cmd_inspect(int argc, char **argv);
+int cmd_send(int argc, char **argv);
+int cmd_receive(int argc, char **argv);