]> wimlib.net Git - wimlib/blob - include/wimlib/integrity.h
1d115ff8cc834a78ca9c57f09a76a878d5e2a608
[wimlib] / include / wimlib / integrity.h
1 #ifndef _WIMLIB_INTEGRITY_H
2 #define _WIMLIB_INTEGRITY_H
3
4 #include "wimlib/types.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
16 extern int
17 check_wim_integrity(WIMStruct *wim);
18
19 #endif /* _WIMLIB_INTEGRITY_H */