diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-18 00:08:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-19 20:39:25 +0100 |
| commit | 59bb9538218eee564ab3c07f923628e0a47bf207 (patch) | |
| tree | 3c5fcf84532e850b4698a843dee96fe54668edbd /src/lib/cross.h | |
| parent | a3c73134fad8a4261c7cd655ae7531b347a78ac7 (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 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<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 |
