summaryrefslogtreecommitdiffstats
path: root/vold/blkdev.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:07 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:07 -0800
commit13f797da7f190e9ea52f2f3d235210b8a4963b21 (patch)
treec821e95502ab1ab9096a11e7488e224e319a46b4 /vold/blkdev.h
parentdcf3ce247e13fe0a982ed2ada35cdee1f0ac626a (diff)
downloadsystem_core-13f797da7f190e9ea52f2f3d235210b8a4963b21.zip
system_core-13f797da7f190e9ea52f2f3d235210b8a4963b21.tar.gz
system_core-13f797da7f190e9ea52f2f3d235210b8a4963b21.tar.bz2
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'vold/blkdev.h')
-rw-r--r--vold/blkdev.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/vold/blkdev.h b/vold/blkdev.h
index 7818419..e789739 100644
--- a/vold/blkdev.h
+++ b/vold/blkdev.h
@@ -41,7 +41,6 @@ struct blkdev {
int major;
int minor;
- char *dev_fspath;
};
struct blkdev_list {
@@ -56,11 +55,10 @@ blkdev_t *blkdev_create(blkdev_t *disk, char *devpath, int major, int minor, str
blkdev_t *blkdev_create_pending_partition(blkdev_t *disk, char *dev_fspath, int major, int minor, struct media *media);
blkdev_t *blkdev_lookup_by_path(char *devpath);
blkdev_t *blkdev_lookup_by_devno(int maj, int min);
-blkdev_t *blkdev_lookup_by_dev_fspath(char *dev_fspath);
+char *blkdev_get_devpath(blkdev_t *blk);
+
void blkdev_destroy(blkdev_t *blk);
-int blkdev_handle_devicefile_created(blkdev_t *blk, char *dev_fspath);
-int blkdev_handle_devicefile_removed(blkdev_t *blk, char *dev_fspath);
int blkdev_get_num_pending_partitions(blkdev_t *blk);
-void blkdev_devpath_set(blkdev_t *blk, char *dev_fspath);
+int blkdev_refresh(blkdev_t *blk);
#endif