]> git.ozlabs.org Git - petitboot/blob - discover/parser-utils.h
e82e3f9c81638be7cdbe2bedcbcca2eba98f66fa
[petitboot] / discover / parser-utils.h
1 #ifndef PARSER_UTILS_H
2 #define PARSER_UTILS_H
3
4 #include "parser.h"
5
6 #define streq(a,b) (!strcasecmp((a),(b)))
7
8 #define artwork_pathname(file) (PKG_SHARE_DIR "/artwork/" file)
9
10 void device_add_boot_option(struct device *device,
11                 struct boot_option *boot_option);
12
13 const char *generic_icon_file(enum generic_icon_type type);
14
15 enum generic_icon_type guess_device_type(struct discover_context *ctx);
16
17 #endif /* PARSER_UTILS_H */