Resolve device paths in kernel and initrd locations.
[petitboot] / devices / parser.h
index 2034cf194ad0581bec38ab5248e6c3fa2d5e664b..840ca1b9d477ee56b50984af58ee5993ee71f0bb 100644 (file)
@@ -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);