]> wimlib.net Git - wimlib/blobdiff - include/wimlib/wimboot.h
WIMBoot: Update WimOverlay.dat directly when WOF not running
[wimlib] / include / wimlib / wimboot.h
index 35d96263a976d76dc973f3d38282434b0294da16..fd178c61707c379eb1aaac06fba2324fa8df837c 100644 (file)
@@ -1,14 +1,24 @@
 #ifndef _WIMBOOT_H_
 #define _WIMBOOT_H_
 
+#include "wimlib/sha1.h"
 #include "wimlib/types.h"
+#include "wimlib/header.h"
+
+struct wim_lookup_table_entry;
 
 extern int
-wimboot_set_pointer(const wchar_t *path, u64 data_source_id,
-                   const u8 hash[20]);
+wimboot_alloc_data_source_id(const wchar_t *wim_path,
+                            const u8 guid[WIM_GID_LEN], int image,
+                            const wchar_t *target, u64 *data_source_id_ret,
+                            bool *wof_running_ret);
 
 extern int
-wimboot_alloc_data_source_id(const wchar_t *wim_path, int image,
-                            const wchar_t *target, u64 *data_source_id_ret);
+wimboot_set_pointer(const wchar_t *path,
+                   const struct wim_lookup_table_entry *lte,
+                   u64 data_source_id,
+                   const u8 lookup_table_hash[SHA1_HASH_SIZE],
+                   bool wof_running);
+
 
 #endif /* _WIMBOOT_H_ */