]> wimlib.net Git - wimlib/blobdiff - include/wimlib/wimboot.h
Limit exposure of dentry and inode creation
[wimlib] / include / wimlib / wimboot.h
index 1c4b0fc3c79967d7dd8cf6ed2fdf290a64300fbf..7dcd85d362169727cb861179a797ebacb9f68777 100644 (file)
@@ -1,11 +1,12 @@
 #ifndef _WIMBOOT_H_
 #define _WIMBOOT_H_
 
+#include "wimlib/header.h"
 #include "wimlib/sha1.h"
 #include "wimlib/types.h"
-#include "wimlib/header.h"
+#include "wimlib/win32_common.h"
 
-struct wim_lookup_table_entry;
+struct blob_descriptor;
 
 extern int
 wimboot_alloc_data_source_id(const wchar_t *wim_path,
@@ -13,12 +14,11 @@ wimboot_alloc_data_source_id(const wchar_t *wim_path,
                             const wchar_t *target, u64 *data_source_id_ret,
                             bool *wof_running_ret);
 
-extern int
-wimboot_set_pointer(UNICODE_STRING *name,
-                   const wchar_t *printable_path,
-                   const struct wim_lookup_table_entry *lte,
+extern bool
+wimboot_set_pointer(HANDLE h,
+                   const struct blob_descriptor *blob,
                    u64 data_source_id,
-                   const u8 lookup_table_hash[SHA1_HASH_SIZE],
+                   const u8 blob_table_hash[SHA1_HASH_SIZE],
                    bool wof_running);