diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-09 00:58:42 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-13 00:23:41 +0200 |
| commit | 350afcbc40fffd8c8780180e153a2ee91088f562 (patch) | |
| tree | ccbabb8b91239555ed01ca762d2f56b02858a8cf /src/lib/cross.h | |
| parent | a16523af5f70b60f4890f198f6214177077a9c1d (diff) | |
Tidy up nanomsg class API; add unmounting for Linux.
Diffstat (limited to 'src/lib/cross.h')
| -rw-r--r-- | src/lib/cross.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/cross.h b/src/lib/cross.h index 6d3c2bd2e..7bbb394a1 100644 --- a/src/lib/cross.h +++ b/src/lib/cross.h @@ -124,5 +124,9 @@ private: }; std::vector<Drive> get_drives (); +/** Unmount any mounted partitions on a drive. + * @return true on success, false on failure. + */ +bool unmount_drive (std::string drive); #endif |
