]> wimlib.net Git - wimlib/blob - include/wimlib/wimboot.h
WIMBoot: Update WimOverlay.dat directly when WOF not running
[wimlib] / include / wimlib / wimboot.h
1 #ifndef _WIMBOOT_H_
2 #define _WIMBOOT_H_
3
4 #include "wimlib/sha1.h"
5 #include "wimlib/types.h"
6 #include "wimlib/header.h"
7
8 struct wim_lookup_table_entry;
9
10 extern int
11 wimboot_alloc_data_source_id(const wchar_t *wim_path,
12                              const u8 guid[WIM_GID_LEN], int image,
13                              const wchar_t *target, u64 *data_source_id_ret,
14                              bool *wof_running_ret);
15
16 extern int
17 wimboot_set_pointer(const wchar_t *path,
18                     const struct wim_lookup_table_entry *lte,
19                     u64 data_source_id,
20                     const u8 lookup_table_hash[SHA1_HASH_SIZE],
21                     bool wof_running);
22
23
24 #endif /* _WIMBOOT_H_ */