From 59bb9538218eee564ab3c07f923628e0a47bf207 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 18 Jan 2022 00:08:44 +0100 Subject: Extract osx_disks_to_drives to cross_common for tests. --- src/lib/cross.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/lib/cross.h') diff --git a/src/lib/cross.h b/src/lib/cross.h index 1906acef7..ac1f028f4 100644 --- a/src/lib/cross.h +++ b/src/lib/cross.h @@ -147,7 +147,22 @@ struct OSXMediaPath }; + +struct OSXDisk +{ + std::string mount_point; + boost::optional vendor; + boost::optional model; + bool real; + std::string prt; + bool whole; + std::vector mount_points; + unsigned long size; +}; + + boost::optional analyse_osx_media_path (std::string path); +std::vector osx_disks_to_drives (std::vector disks); #endif -- cgit v1.2.3