X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=discover%2Fresource.h;h=1bbf8ba99b84427063ec07b92aa070119955aa1b;hb=19dab336ae13f0476bfbf0db34f1329a802eeb8e;hp=2debe3cd24970e5c429c3fed950d1f40ca018deb;hpb=c6a36fdf2fc2e7a1c2bc4c8d16f2a3bb575b5a2f;p=petitboot diff --git a/discover/resource.h b/discover/resource.h index 2debe3c..1bbf8ba 100644 --- a/discover/resource.h +++ b/discover/resource.h @@ -38,6 +38,8 @@ struct resource *create_devpath_resource(void *ctx, struct discover_device *orig_device, const char *devpath); +struct resource *create_url_resource(void *ctx, struct pb_url *url); + bool resolve_devpath_resource(struct device_handler *dev, struct resource *res);