summaryrefslogtreecommitdiff
path: root/btrfs-list.h
diff options
context:
space:
mode:
authorZhou Bo <zhoub-fnst@cn.fujitsu.com>2012-08-08 16:54:48 +0800
committerroot <root@localhost.localdomain>2012-10-04 16:26:32 -0400
commitc5800fb016a98625309769559af564e6c768ca6d (patch)
treec9af93c502ff30784ae2f7068c9ac0bef9b1fccb /btrfs-list.h
parentf4dfc8f6edb62c0a73b6334fc04ac399a289c449 (diff)
Btrfs-progs: move the function declarations to a new head file
Move the function declarations to a new head file. Signed-off-by: Zhou Bo <zhoub-fnst@cn.fujitsu.com>
Diffstat (limited to 'btrfs-list.h')
-rw-r--r--btrfs-list.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/btrfs-list.h b/btrfs-list.h
new file mode 100644
index 0000000..96f3641
--- /dev/null
+++ b/btrfs-list.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2012 Fujitsu. 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.
+ */
+
+int list_subvols(int fd, int print_parent, int get_default, int print_uuid);
+int find_updated_files(int fd, u64 root_id, u64 oldest_gen);
+char *path_for_root(int fd, u64 root);