summaryrefslogtreecommitdiffstats
path: root/VolumeManager.h
diff options
context:
space:
mode:
authorSan Mehat <san@android.com>2009-10-12 11:32:47 -0700
committerSan Mehat <san@android.com>2009-10-12 15:02:58 -0700
commitfd7f5875129adfe2845f4f3fffb17db3a89eea25 (patch)
tree5eb4230dc80b91ced9c7c45629d68f91059b1423 /VolumeManager.h
parentf1b736bc5605e92e917ab27f5abf3ba839be2270 (diff)
downloadandroid_system_vold-fd7f5875129adfe2845f4f3fffb17db3a89eea25.tar.gz
android_system_vold-fd7f5875129adfe2845f4f3fffb17db3a89eea25.tar.bz2
android_system_vold-fd7f5875129adfe2845f4f3fffb17db3a89eea25.zip
vold2: Refactor the netlink event handling and better define how partitions/disks are handled
Signed-off-by: San Mehat <san@android.com>
Diffstat (limited to 'VolumeManager.h')
-rw-r--r--VolumeManager.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/VolumeManager.h b/VolumeManager.h
index 8263805..c6beb2a 100644
--- a/VolumeManager.h
+++ b/VolumeManager.h
@@ -41,13 +41,7 @@ public:
int start();
int stop();
- void handleDiskInserted(const char *devpath, int maj, int min,
- int nr_parts);
- void handleDiskRemoved(int maj, int min);
-
- void handlePartCreated(const char *devpath, int maj, int min,
- int part_no);
- void handlePartRemoved(int maj, int min);
+ void handleBlockEvent(NetlinkEvent *evt);
int addVolume(Volume *v);