X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fpaths.h;h=35673b7eaef6cc1228d95019fd6ccfe0f5302612;hp=191b8dc84c6a5debcfeb3333362898f1b0d31f5a;hb=4c03332555b2d87029be525f854a42bb90bc4e4b;hpb=1abc62990a5817de56a55470fb2c62e966134722 diff --git a/discover/paths.h b/discover/paths.h index 191b8dc..35673b7 100644 --- a/discover/paths.h +++ b/discover/paths.h @@ -2,6 +2,8 @@ #define PATHS_H #include +#include +#include /** * Utility function for joining two paths. Adds a / between a and b if @@ -43,7 +45,8 @@ typedef void (*load_url_complete)(struct load_url_result *result, void *data); /* Load a (potentially remote) file, and return a guaranteed-local name */ struct load_url_result *load_url_async(void *ctx, struct pb_url *url, - load_url_complete complete, void *data); + load_url_complete complete, void *data, + waiter_cb stdout_cb, void *stdout_data); /* Cancel a pending load */ void load_url_async_cancel(struct load_url_result *res);