X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=inline;f=discover%2Fpaths.h;fp=discover%2Fpaths.h;h=35673b7eaef6cc1228d95019fd6ccfe0f5302612;hb=ca11198f4034266b0f48b37e5871c44d1399aba6;hp=191b8dc84c6a5debcfeb3333362898f1b0d31f5a;hpb=0ba871a497f156dd474a333889cd92eaab9b08dc;p=petitboot 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);