X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fintegrity.h;h=1d115ff8cc834a78ca9c57f09a76a878d5e2a608;hb=b5b9681794d1f5f13350e3567f6f6e74f5c779cf;hp=aa541f6afde4ebdd456db5e07edff6e2afb73fb0;hpb=00a775dc256d1fc8254d4f055e362e67f25b66d8;p=wimlib diff --git a/include/wimlib/integrity.h b/include/wimlib/integrity.h index aa541f6a..1d115ff8 100644 --- a/include/wimlib/integrity.h +++ b/include/wimlib/integrity.h @@ -1,23 +1,19 @@ #ifndef _WIMLIB_INTEGRITY_H #define _WIMLIB_INTEGRITY_H -#include "wimlib.h" +#include "wimlib/types.h" #include #define WIM_INTEGRITY_OK 0 #define WIM_INTEGRITY_NOT_OK -1 #define WIM_INTEGRITY_NONEXISTENT -2 -struct resource_entry; - extern int -write_integrity_table(int fd, - struct resource_entry *integrity_res_entry, +write_integrity_table(WIMStruct *wim, off_t new_lookup_table_end, - off_t old_lookup_table_end, - wimlib_progress_func_t progress_func); + off_t old_lookup_table_end); extern int -check_wim_integrity(WIMStruct *wim, wimlib_progress_func_t progress_func); +check_wim_integrity(WIMStruct *wim); #endif /* _WIMLIB_INTEGRITY_H */