summaryrefslogtreecommitdiff
path: root/src/lib/cross.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-09 00:58:42 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-13 00:23:41 +0200
commit350afcbc40fffd8c8780180e153a2ee91088f562 (patch)
treeccbabb8b91239555ed01ca762d2f56b02858a8cf /src/lib/cross.h
parenta16523af5f70b60f4890f198f6214177077a9c1d (diff)
Tidy up nanomsg class API; add unmounting for Linux.
Diffstat (limited to 'src/lib/cross.h')
-rw-r--r--src/lib/cross.h4
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