]> git.ozlabs.org Git - petitboot/blobdiff - discover/paths.h
Move boot to discover server
[petitboot] / discover / paths.h
index e7c23e56848b3dc584640723c36ee9f598d39ebb..34de79a1649fd34e7ed4b8f22aa1ef582a7a5cba 100644 (file)
@@ -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 */