X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fpaths.h;h=34de79a1649fd34e7ed4b8f22aa1ef582a7a5cba;hp=e7c23e56848b3dc584640723c36ee9f598d39ebb;hb=c62667e5c78ea212e5ac49244e9792954a1d8f71;hpb=5eb7f7bcd3431cd8f634b02b71bd78f6162c2af3;ds=sidebyside diff --git a/discover/paths.h b/discover/paths.h index e7c23e5..34de79a 100644 --- a/discover/paths.h +++ b/discover/paths.h @@ -51,4 +51,7 @@ char *encode_label(void *alloc_ctx, const char *label); */ const char *mount_base(void); +/* Load a (potentially remote) file, and return a guaranteed-local name */ +char *load_file(void *ctx, const char *remote, unsigned int *tempfile); + #endif /* PATHS_H */