diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-18 00:08:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-18 22:50:10 +0100 |
| commit | b3c25f2ed77ca16ddb2ed854e2e72424165ffc98 (patch) | |
| tree | 2081a81dfc9ab84f39808a75637ce8f032f911a2 /src/lib/cross.h | |
| parent | f2b4a82cc6c20759fba443498103fd7e6eb00086 (diff) | |
Extract osx_disks_to_drives to cross_common for tests.
Diffstat (limited to 'src/lib/cross.h')
| -rw-r--r-- | src/lib/cross.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/cross.h b/src/lib/cross.h index a3d7e13f4..cc902232c 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<std::string> vendor; + boost::optional<std::string> model; + bool real; + std::string prt; + bool whole; + std::vector<boost::filesystem::path> mount_points; + unsigned long size; +}; + + boost::optional<OSXMediaPath> analyse_osx_media_path (std::string path); +std::vector<Drive> osx_disks_to_drives (std::vector<OSXDisk> disks); #endif |
