c9e07ca8e55bc1d1c5359a3d8cee737f808a9dc5
[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 */