1 #ifndef _WIMLIB_TEST_SUPPORT_H
2 #define _WIMLIB_TEST_SUPPORT_H
4 #ifdef ENABLE_TEST_SUPPORT
6 #include "wimlib/types.h"
8 #define WIMLIB_ERR_IMAGES_ARE_DIFFERENT 200
10 #define WIMLIB_ADD_FLAG_GENERATE_TEST_DATA 0x08000000
12 #define WIMLIB_CMP_FLAG_SHORT_NAMES_NOT_PRESERVED 0x00000001
13 #define WIMLIB_CMP_FLAG_ATTRIBUTES_NOT_PRESERVED 0x00000002
14 #define WIMLIB_CMP_FLAG_SECURITY_NOT_PRESERVED 0x00000004
15 #define WIMLIB_CMP_FLAG_ADS_NOT_PRESERVED 0x00000008
16 #define WIMLIB_CMP_FLAG_COMPRESSION_NOT_PRESERVED 0x00000010
17 #define WIMLIB_CMP_FLAG_IMAGE2_SHOULD_HAVE_SYMLINKS 0x00000020
20 wimlib_compare_images(WIMStruct *wim1, int image1,
21 WIMStruct *wim2, int image2, int cmp_flags);
23 #endif /* ENABLE_TEST_SUPPORT */
25 #endif /* _WIMLIB_TEST_SUPPORT_H */