4 #include "types/types.h"
7 #define streq(a,b) (!strcasecmp((a),(b)))
9 #define artwork_pathname(file) (PKG_SHARE_DIR "/artwork/" file)
11 #define define_parser(__name, __parse_fn) \
13 __ ## __name ## _parser = { \
15 .parse = __parse_fn, \
18 void device_add_boot_option(struct device *device,
19 struct boot_option *boot_option);
21 const char *generic_icon_file(enum generic_icon_type type);
23 enum generic_icon_type guess_device_type(struct discover_context *ctx);
25 #endif /* PARSER_UTILS_H */