X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=devices%2Fparser.h;h=840ca1b9d477ee56b50984af58ee5993ee71f0bb;hp=2034cf194ad0581bec38ab5248e6c3fa2d5e664b;hb=84a9a8660a90551f2f934ac77ac0c9b2c2e8c079;hpb=0baa987696e787f5136f2296295206d99c238f19 diff --git a/devices/parser.h b/devices/parser.h index 2034cf1..840ca1b 100644 --- a/devices/parser.h +++ b/devices/parser.h @@ -35,7 +35,10 @@ const char *generic_icon_file(enum generic_icon_type type); /* functions provided by udev-helper or the test wrapper */ void pb_log(const char *fmt, ...); -int mount_device(const char *dev_path, char *mount_path); +int mount_device(const char *dev_path); + +char *resolve_path(const char *path, const char *default_mountpoint); +const char *mountpoint_for_device(const char *dev_path); enum generic_icon_type guess_device_type(void);