X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fwimboot.h;h=10857d5b64680be085e6d5afc508613e2092a94d;hb=f2e360a90b9520928821928d2fa882ab1da15ba3;hp=35d96263a976d76dc973f3d38282434b0294da16;hpb=e20f8057569b65f75994e8d88c7a0be80a749888;p=wimlib diff --git a/include/wimlib/wimboot.h b/include/wimlib/wimboot.h index 35d96263..10857d5b 100644 --- a/include/wimlib/wimboot.h +++ b/include/wimlib/wimboot.h @@ -1,14 +1,25 @@ #ifndef _WIMBOOT_H_ #define _WIMBOOT_H_ +#include "wimlib/header.h" +#include "wimlib/sha1.h" #include "wimlib/types.h" +#include "wimlib/win32_common.h" -extern int -wimboot_set_pointer(const wchar_t *path, u64 data_source_id, - const u8 hash[20]); +struct blob_descriptor; extern int -wimboot_alloc_data_source_id(const wchar_t *wim_path, int image, - const wchar_t *target, u64 *data_source_id_ret); +wimboot_alloc_data_source_id(const wchar_t *wim_path, + const u8 guid[GUID_SIZE], int image, + const wchar_t *target, u64 *data_source_id_ret, + bool *wof_running_ret); + +extern bool +wimboot_set_pointer(HANDLE h, + const struct blob_descriptor *blob, + u64 data_source_id, + const u8 blob_table_hash[SHA1_HASH_SIZE], + bool wof_running); + #endif /* _WIMBOOT_H_ */