* Boston, MA 021110-1307, USA.
*/
+#ifndef __BTRFS_LIST_H__
+#define __BTRFS_LIST_H__
+
#if BTRFS_FLAT_INCLUDES
#include "kerncompat.h"
+#include "rbtree.h"
+#include "ioctl.h"
#else
#include <btrfs/kerncompat.h>
+#include <btrfs/rbtree.h>
+#include <btrfs/ioctl.h>
#endif /* BTRFS_FLAT_INCLUDES */
+#include <time.h>
+
#define BTRFS_LIST_LAYOUT_DEFAULT 0
#define BTRFS_LIST_LAYOUT_TABLE 1
#define BTRFS_LIST_LAYOUT_RAW 2
char *btrfs_list_path_for_root(int fd, u64 root);
int btrfs_list_get_path_rootid(int fd, u64 *treeid);
int btrfs_get_subvol(int fd, struct root_info *the_ri);
+
+#endif