+
+/* resources */
+struct resource *create_grub2_resource(void *ctx,
+ struct discover_device *orig_device,
+ struct grub2_root *root, const char *path);
+
+bool resolve_grub2_resource(struct device_handler *handler,
+ struct resource *res);
+
+/* external parser api */
+struct grub2_parser *grub2_parser_create(struct discover_context *ctx);
+void grub2_parser_parse(struct grub2_parser *parser, char *buf, int len);