]> wimlib.net Git - wimlib/blob - include/wimlib/integrity.h
Merge branch with pipable WIM support
[wimlib] / include / wimlib / integrity.h
1 #ifndef _WIMLIB_INTEGRITY_H
2 #define _WIMLIB_INTEGRITY_H
3
4 #include "wimlib.h"
5 #include <sys/types.h>
6
7 #define WIM_INTEGRITY_OK 0
8 #define WIM_INTEGRITY_NOT_OK -1
9 #define WIM_INTEGRITY_NONEXISTENT -2
10
11 extern int
12 write_integrity_table(WIMStruct *wim,
13                       off_t new_lookup_table_end,
14                       off_t old_lookup_table_end,
15                       wimlib_progress_func_t progress_func);
16
17 extern int
18 check_wim_integrity(WIMStruct *wim, wimlib_progress_func_t progress_func);
19
20 #endif /* _WIMLIB_INTEGRITY_H */