summaryrefslogtreecommitdiff
path: root/btrfs-list.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2013-02-01 15:56:28 +0800
committerDavid Sterba <dsterba@suse.cz>2013-02-01 16:55:06 +0100
commit437eea9664ce5f1782aee43f0f8cc49a3e40e9f0 (patch)
treea9450e43aa306f52132dd634509e89c8e4f60a50 /btrfs-list.h
parent16ef0a0c3c7e7811dabee76775f170f1a7c61855 (diff)
Btrfs-progs: add show subcommand to subvol cli
This adds show sub-command to the btrfs subvol cli to display detailed inforamtion of the given subvol or snapshot. Signed-off-by: Anand Jain <anand.jain@oracle.com>
Diffstat (limited to 'btrfs-list.h')
-rw-r--r--btrfs-list.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/btrfs-list.h b/btrfs-list.h
index e626858..5d87454 100644
--- a/btrfs-list.h
+++ b/btrfs-list.h
@@ -20,6 +20,7 @@
#define BTRFS_LIST_LAYOUT_DEFAULT 0
#define BTRFS_LIST_LAYOUT_TABLE 1
+#define BTRFS_LIST_LAYOUT_RAW 2
/*
* one of these for each root we find.
@@ -151,7 +152,7 @@ int btrfs_list_setup_comparer(struct btrfs_list_comparer_set **comp_set,
int btrfs_list_subvols_print(int fd, struct btrfs_list_filter_set *filter_set,
struct btrfs_list_comparer_set *comp_set,
- int is_tab_result, int full_path);
+ int is_tab_result, int full_path, char *raw_prefix);
int btrfs_list_find_updated_files(int fd, u64 root_id, u64 oldest_gen);
int btrfs_list_get_default_subvolume(int fd, u64 *default_id);
char *btrfs_list_path_for_root(int fd, u64 root);