4 int add_device(const struct device *dev);
6 int add_boot_option(const struct boot_option *opt);
7 void free_boot_option(struct boot_option *opt);
9 char *join_paths(const char *a, const char *b);
11 int mount_device(const char *dev_path, char *mount_path);
16 int (*parse)(const char *devicepath, const char *mountpoint);
20 enum generic_icon_type {
28 enum generic_icon_type guess_device_type(void);
29 const char *generic_icon_file(enum generic_icon_type type);
31 #define streq(a,b) (!strcasecmp((a),(b)))