vold2: Wire up more of the mount function
Signed-off-by: San Mehat <san@android.com>
diff --git a/VolumeManager.h b/VolumeManager.h
index c6beb2a..c3d65e0 100644
--- a/VolumeManager.h
+++ b/VolumeManager.h
@@ -46,6 +46,8 @@
int addVolume(Volume *v);
int listVolumes(SocketClient *cli);
+ int mountVolume(const char *label);
+ int unmountVolume(const char *label);
void setBroadcaster(SocketListener *sl) { mBroadcaster = sl; }
SocketListener *getBroadcaster() { return mBroadcaster; }
@@ -54,5 +56,6 @@
private:
VolumeManager();
+ Volume *lookupVolume(const char *label);
};
#endif