X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=devices%2Fparser.h;h=840ca1b9d477ee56b50984af58ee5993ee71f0bb;hb=774f9b57897d9e19847310145072f577fd680987;hp=2034cf194ad0581bec38ab5248e6c3fa2d5e664b;hpb=678dbd282f917c68c4fd6badfc14fcf464796f5d;p=petitboot 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);