wimlib
wimlib.h
Go to the documentation of this file.
1 
389 #ifndef _WIMLIB_H
390 #define _WIMLIB_H
391 
392 #include <stdio.h>
393 #include <stddef.h>
394 #ifndef __cplusplus
395 # if defined(_MSC_VER) && _MSC_VER < 1800 /* VS pre-2013? */
396  typedef unsigned char bool;
397 # else
398 # include <stdbool.h>
399 # endif
400 #endif
401 #include <stdint.h>
402 #include <time.h>
403 
408 #define WIMLIB_MAJOR_VERSION 1
409 
411 #define WIMLIB_MINOR_VERSION 13
412 
414 #define WIMLIB_PATCH_VERSION 3
415 
416 #ifdef __cplusplus
417 extern "C" {
418 #endif
419 
420 /*
421  * To represent file timestamps, wimlib's API originally used the POSIX 'struct
422  * timespec'. This was a mistake because when building wimlib for 32-bit
423  * Windows with MinGW we ended up originally using 32-bit time_t which isn't
424  * year 2038-safe, and therefore we had to later add fields like
425  * 'creation_time_high' to hold the high 32 bits of each timestamp. Moreover,
426  * old Visual Studio versions did not define struct timespec, while newer ones
427  * define it but with 64-bit tv_sec. So to at least avoid a missing or
428  * incompatible 'struct timespec' definition, define the correct struct
429  * ourselves when this header is included on Windows.
430  */
431 #ifdef _WIN32
432 struct wimlib_timespec {
433  /* Seconds since start of UNIX epoch (January 1, 1970) */
434 #ifdef _WIN64
435  int64_t tv_sec;
436 #else
437  int32_t tv_sec;
438 #endif
439  /* Nanoseconds (0-999999999) */
440  int32_t tv_nsec;
441 };
442 #else
443 # define wimlib_timespec timespec /* standard definition */
444 #endif
445 
450 #ifndef WIMLIB_WIMSTRUCT_DECLARED
451 typedef struct WIMStruct WIMStruct;
452 #define WIMLIB_WIMSTRUCT_DECLARED
453 #endif
454 
455 #ifdef _WIN32
456 typedef wchar_t wimlib_tchar;
457 #else
458 
459 typedef char wimlib_tchar;
460 #endif
461 
462 #ifdef _WIN32
463 
465 # define WIMLIB_WIM_PATH_SEPARATOR '\\'
466 # define WIMLIB_WIM_PATH_SEPARATOR_STRING L"\\"
467 #else
468 
470 # define WIMLIB_WIM_PATH_SEPARATOR '/'
471 # define WIMLIB_WIM_PATH_SEPARATOR_STRING "/"
472 #endif
473 
476 #define WIMLIB_WIM_ROOT_PATH WIMLIB_WIM_PATH_SEPARATOR_STRING
477 
480 #define WIMLIB_IS_WIM_ROOT_PATH(path) \
481  ((path)[0] == WIMLIB_WIM_PATH_SEPARATOR && \
482  (path)[1] == 0)
483 
485 #define WIMLIB_GUID_LEN 16
486 
506 
526 
548 
571 };
572 
580 
586 
593 
601 
606 
610 
618 
623 
628 
635 
641 
647 
654 
658 
663 
670 
677 
683 
688 
692 
698 
704 
711 
719 
723 
729 
733 
738 
742 
756 
778 };
779 
787 
791 
795 };
796 
804 
809 
815  uint64_t total_bytes;
816 
823  uint64_t total_streams;
824 
829  uint64_t completed_bytes;
830 
835 
838  uint32_t num_threads;
839 
843 
847  uint32_t total_parts;
848 
850  uint32_t completed_parts;
852 
857 
863 
869 
872  enum {
875 
879 
883 
891 
898 
899  union {
904 
910  };
911 
915 
919 
923  } scan;
924 
945 
948  uint32_t image;
949 
951  uint32_t extract_flags;
952 
957 
961 
965 
968 
970  uint64_t total_bytes;
971 
974  uint64_t completed_bytes;
975 
980  uint64_t total_streams;
981 
985 
988  uint32_t part_number;
989 
992  uint32_t total_parts;
993 
997 
1004 
1021  uint64_t end_file_count;
1023 
1028 
1033 
1040 
1044 
1049 
1053 
1056  uint64_t total_bytes;
1057 
1061 
1064  uint32_t total_chunks;
1065 
1069 
1072  uint32_t chunk_size;
1073 
1078 
1084  uint64_t total_bytes;
1085 
1090 
1095 
1097  unsigned total_parts;
1098 
1108 
1114 
1119 
1123 
1128 
1131 
1133  uint32_t mounted_image;
1134 
1137  uint32_t mount_flags;
1138 
1140  uint32_t unmount_flags;
1142 
1165 
1170  uint32_t total_images;
1171  uint32_t current_image;
1173 
1177  uint64_t total_streams;
1178  uint64_t total_bytes;
1182 
1185 
1199 
1208 
1211 
1215 
1218 
1226 };
1227 
1246 typedef enum wimlib_progress_status
1248  union wimlib_progress_info *info,
1249  void *progctx);
1250 
1261 
1265 
1267  long reserved;
1268 };
1269 
1280 #define WIMLIB_CHANGE_READONLY_FLAG 0x00000001
1281 
1284 #define WIMLIB_CHANGE_GUID 0x00000002
1285 
1288 #define WIMLIB_CHANGE_BOOT_INDEX 0x00000004
1289 
1296 #define WIMLIB_CHANGE_RPFIX_FLAG 0x00000008
1297 
1312 
1316 
1318  uint32_t image_count;
1319 
1322  uint32_t boot_index;
1323 
1325  uint32_t wim_version;
1326 
1329  uint32_t chunk_size;
1330 
1333  uint16_t part_number;
1334 
1337  uint16_t total_parts;
1338 
1342 
1345  uint64_t total_bytes;
1346 
1348  uint32_t has_integrity_table : 1;
1349 
1352  uint32_t opened_from_file : 1;
1353 
1357  uint32_t is_readonly : 1;
1358 
1360  uint32_t has_rpfix : 1;
1361 
1363  uint32_t is_marked_readonly : 1;
1364 
1366  uint32_t spanned : 1;
1367 
1369  uint32_t write_in_progress : 1;
1370 
1372  uint32_t metadata_only : 1;
1373 
1375  uint32_t resource_only : 1;
1376 
1378  uint32_t pipable : 1;
1379  uint32_t reserved_flags : 22;
1380  uint32_t reserved[9];
1381 };
1382 
1414 
1418 
1422 
1427  uint64_t offset;
1428 
1430  uint8_t sha1_hash[20];
1431 
1434  uint32_t part_number;
1435 
1440 
1443  uint32_t is_compressed : 1;
1444 
1446  uint32_t is_metadata : 1;
1447 
1448  uint32_t is_free : 1;
1449  uint32_t is_spanned : 1;
1450 
1454  uint32_t is_missing : 1;
1455 
1457  uint32_t packed : 1;
1458 
1459  uint32_t reserved_flags : 26;
1460 
1464 
1468 
1472 
1473  uint64_t reserved[1];
1474 };
1475 
1488 
1491 
1494 
1495  uint64_t reserved[4];
1496 };
1497 
1508 };
1509 
1518 
1522 
1526 
1529  size_t depth;
1530 
1534  const char *security_descriptor;
1535 
1538 
1539 #define WIMLIB_FILE_ATTRIBUTE_READONLY 0x00000001
1540 #define WIMLIB_FILE_ATTRIBUTE_HIDDEN 0x00000002
1541 #define WIMLIB_FILE_ATTRIBUTE_SYSTEM 0x00000004
1542 #define WIMLIB_FILE_ATTRIBUTE_DIRECTORY 0x00000010
1543 #define WIMLIB_FILE_ATTRIBUTE_ARCHIVE 0x00000020
1544 #define WIMLIB_FILE_ATTRIBUTE_DEVICE 0x00000040
1545 #define WIMLIB_FILE_ATTRIBUTE_NORMAL 0x00000080
1546 #define WIMLIB_FILE_ATTRIBUTE_TEMPORARY 0x00000100
1547 #define WIMLIB_FILE_ATTRIBUTE_SPARSE_FILE 0x00000200
1548 #define WIMLIB_FILE_ATTRIBUTE_REPARSE_POINT 0x00000400
1549 #define WIMLIB_FILE_ATTRIBUTE_COMPRESSED 0x00000800
1550 #define WIMLIB_FILE_ATTRIBUTE_OFFLINE 0x00001000
1551 #define WIMLIB_FILE_ATTRIBUTE_NOT_CONTENT_INDEXED 0x00002000
1552 #define WIMLIB_FILE_ATTRIBUTE_ENCRYPTED 0x00004000
1553 #define WIMLIB_FILE_ATTRIBUTE_VIRTUAL 0x00010000
1554 
1558  uint32_t attributes;
1559 
1560 #define WIMLIB_REPARSE_TAG_RESERVED_ZERO 0x00000000
1561 #define WIMLIB_REPARSE_TAG_RESERVED_ONE 0x00000001
1562 #define WIMLIB_REPARSE_TAG_MOUNT_POINT 0xA0000003
1563 #define WIMLIB_REPARSE_TAG_HSM 0xC0000004
1564 #define WIMLIB_REPARSE_TAG_HSM2 0x80000006
1565 #define WIMLIB_REPARSE_TAG_DRIVER_EXTENDER 0x80000005
1566 #define WIMLIB_REPARSE_TAG_SIS 0x80000007
1567 #define WIMLIB_REPARSE_TAG_DFS 0x8000000A
1568 #define WIMLIB_REPARSE_TAG_DFSR 0x80000012
1569 #define WIMLIB_REPARSE_TAG_FILTER_MANAGER 0x8000000B
1570 #define WIMLIB_REPARSE_TAG_WOF 0x80000017
1571 #define WIMLIB_REPARSE_TAG_SYMLINK 0xA000000C
1572 
1576  uint32_t reparse_tag;
1577 
1582  uint32_t num_links;
1583 
1586 
1595 
1598 
1601 
1604 
1608  uint32_t unix_uid;
1609 
1613  uint32_t unix_gid;
1614 
1620  uint32_t unix_mode;
1621 
1626  uint32_t unix_rdev;
1627 
1628  /* The object ID of this file, if any. Only valid if
1629  * object_id.object_id is not all zeroes. */
1630  struct wimlib_object_id object_id;
1631 
1635 
1639 
1643 
1644  int32_t reserved2;
1645 
1646  uint64_t reserved[4];
1647 
1662  struct wimlib_stream_entry streams[];
1663 };
1664 
1669 typedef int (*wimlib_iterate_dir_tree_callback_t)(const struct wimlib_dir_entry *dentry,
1670  void *user_ctx);
1671 
1677  void *user_ctx);
1678 
1681 #define WIMLIB_ITERATE_DIR_TREE_FLAG_RECURSIVE 0x00000001
1682 
1685 #define WIMLIB_ITERATE_DIR_TREE_FLAG_CHILDREN 0x00000002
1686 
1692 #define WIMLIB_ITERATE_DIR_TREE_FLAG_RESOURCES_NEEDED 0x00000004
1693 
1694 
1708 #define WIMLIB_ADD_FLAG_NTFS 0x00000001
1709 
1712 #define WIMLIB_ADD_FLAG_DEREFERENCE 0x00000002
1713 
1717 #define WIMLIB_ADD_FLAG_VERBOSE 0x00000004
1718 
1727 #define WIMLIB_ADD_FLAG_BOOT 0x00000008
1728 
1734 #define WIMLIB_ADD_FLAG_UNIX_DATA 0x00000010
1735 
1738 #define WIMLIB_ADD_FLAG_NO_ACLS 0x00000020
1739 
1745 #define WIMLIB_ADD_FLAG_STRICT_ACLS 0x00000040
1746 
1751 #define WIMLIB_ADD_FLAG_EXCLUDE_VERBOSE 0x00000080
1752 
1760 #define WIMLIB_ADD_FLAG_RPFIX 0x00000100
1761 
1763 #define WIMLIB_ADD_FLAG_NORPFIX 0x00000200
1764 
1769 #define WIMLIB_ADD_FLAG_NO_UNSUPPORTED_EXCLUDE 0x00000400
1770 
1786 #define WIMLIB_ADD_FLAG_WINCONFIG 0x00000800
1787 
1816 #define WIMLIB_ADD_FLAG_WIMBOOT 0x00001000
1817 
1824 #define WIMLIB_ADD_FLAG_NO_REPLACE 0x00002000
1825 
1833 #define WIMLIB_ADD_FLAG_TEST_FILE_EXCLUSION 0x00004000
1834 
1845 #define WIMLIB_ADD_FLAG_SNAPSHOT 0x00008000
1846 
1855 #define WIMLIB_ADD_FLAG_FILE_PATHS_UNNEEDED 0x00010000
1856 
1862 #define WIMLIB_DELETE_FLAG_FORCE 0x00000001
1863 
1866 #define WIMLIB_DELETE_FLAG_RECURSIVE 0x00000002
1867 
1878 #define WIMLIB_EXPORT_FLAG_BOOT 0x00000001
1879 
1883 #define WIMLIB_EXPORT_FLAG_NO_NAMES 0x00000002
1884 
1886 #define WIMLIB_EXPORT_FLAG_NO_DESCRIPTIONS 0x00000004
1887 
1891 #define WIMLIB_EXPORT_FLAG_GIFT 0x00000008
1892 
1908 #define WIMLIB_EXPORT_FLAG_WIMBOOT 0x00000010
1909 
1923 #define WIMLIB_EXTRACT_FLAG_NTFS 0x00000001
1924 
1927 #define WIMLIB_EXTRACT_FLAG_UNIX_DATA 0x00000020
1928 
1931 #define WIMLIB_EXTRACT_FLAG_NO_ACLS 0x00000040
1932 
1942 #define WIMLIB_EXTRACT_FLAG_STRICT_ACLS 0x00000080
1943 
1952 #define WIMLIB_EXTRACT_FLAG_RPFIX 0x00000100
1953 
1957 #define WIMLIB_EXTRACT_FLAG_NORPFIX 0x00000200
1958 
1961 #define WIMLIB_EXTRACT_FLAG_TO_STDOUT 0x00000400
1962 
1972 #define WIMLIB_EXTRACT_FLAG_REPLACE_INVALID_FILENAMES 0x00000800
1973 
1982 #define WIMLIB_EXTRACT_FLAG_ALL_CASE_CONFLICTS 0x00001000
1983 
1987 #define WIMLIB_EXTRACT_FLAG_STRICT_TIMESTAMPS 0x00002000
1988 
1991 #define WIMLIB_EXTRACT_FLAG_STRICT_SHORT_NAMES 0x00004000
1992 
1997 #define WIMLIB_EXTRACT_FLAG_STRICT_SYMLINKS 0x00008000
1998 
2012 #define WIMLIB_EXTRACT_FLAG_GLOB_PATHS 0x00040000
2013 
2017 #define WIMLIB_EXTRACT_FLAG_STRICT_GLOB 0x00080000
2018 
2024 #define WIMLIB_EXTRACT_FLAG_NO_ATTRIBUTES 0x00100000
2025 
2032 #define WIMLIB_EXTRACT_FLAG_NO_PRESERVE_DIR_STRUCTURE 0x00200000
2033 
2040 #define WIMLIB_EXTRACT_FLAG_WIMBOOT 0x00400000
2041 
2050 #define WIMLIB_EXTRACT_FLAG_COMPACT_XPRESS4K 0x01000000
2051 
2054 #define WIMLIB_EXTRACT_FLAG_COMPACT_XPRESS8K 0x02000000
2055 
2058 #define WIMLIB_EXTRACT_FLAG_COMPACT_XPRESS16K 0x04000000
2059 
2062 #define WIMLIB_EXTRACT_FLAG_COMPACT_LZX 0x08000000
2063 
2069 #define WIMLIB_MOUNT_FLAG_READWRITE 0x00000001
2070 
2072 #define WIMLIB_MOUNT_FLAG_DEBUG 0x00000002
2073 
2075 #define WIMLIB_MOUNT_FLAG_STREAM_INTERFACE_NONE 0x00000004
2076 
2080 #define WIMLIB_MOUNT_FLAG_STREAM_INTERFACE_XATTR 0x00000008
2081 
2084 #define WIMLIB_MOUNT_FLAG_STREAM_INTERFACE_WINDOWS 0x00000010
2085 
2087 #define WIMLIB_MOUNT_FLAG_UNIX_DATA 0x00000020
2088 
2091 #define WIMLIB_MOUNT_FLAG_ALLOW_OTHER 0x00000040
2092 
2103 #define WIMLIB_OPEN_FLAG_CHECK_INTEGRITY 0x00000001
2104 
2108 #define WIMLIB_OPEN_FLAG_ERROR_IF_SPLIT 0x00000002
2109 
2118 #define WIMLIB_OPEN_FLAG_WRITE_ACCESS 0x00000004
2119 
2126 #define WIMLIB_UNMOUNT_FLAG_CHECK_INTEGRITY 0x00000001
2127 
2130 #define WIMLIB_UNMOUNT_FLAG_COMMIT 0x00000002
2131 
2134 #define WIMLIB_UNMOUNT_FLAG_REBUILD 0x00000004
2135 
2138 #define WIMLIB_UNMOUNT_FLAG_RECOMPRESS 0x00000008
2139 
2148 #define WIMLIB_UNMOUNT_FLAG_FORCE 0x00000010
2149 
2154 #define WIMLIB_UNMOUNT_FLAG_NEW_IMAGE 0x00000020
2155 
2162 #define WIMLIB_UPDATE_FLAG_SEND_PROGRESS 0x00000001
2163 
2176 #define WIMLIB_WRITE_FLAG_CHECK_INTEGRITY 0x00000001
2177 
2183 #define WIMLIB_WRITE_FLAG_NO_CHECK_INTEGRITY 0x00000002
2184 
2197 #define WIMLIB_WRITE_FLAG_PIPABLE 0x00000004
2198 
2203 #define WIMLIB_WRITE_FLAG_NOT_PIPABLE 0x00000008
2204 
2230 #define WIMLIB_WRITE_FLAG_RECOMPRESS 0x00000010
2231 
2245 #define WIMLIB_WRITE_FLAG_FSYNC 0x00000020
2246 
2259 #define WIMLIB_WRITE_FLAG_REBUILD 0x00000040
2260 
2270 #define WIMLIB_WRITE_FLAG_SOFT_DELETE 0x00000080
2271 
2281 #define WIMLIB_WRITE_FLAG_IGNORE_READONLY_FLAG 0x00000100
2282 
2289 #define WIMLIB_WRITE_FLAG_SKIP_EXTERNAL_WIMS 0x00000200
2290 
2292 #define WIMLIB_WRITE_FLAG_STREAMS_OK 0x00000400
2293 
2300 #define WIMLIB_WRITE_FLAG_RETAIN_GUID 0x00000800
2301 
2337 #define WIMLIB_WRITE_FLAG_SOLID 0x00001000
2338 
2344 #define WIMLIB_WRITE_FLAG_SEND_DONE_WITH_FILE_MESSAGES 0x00002000
2345 
2351 #define WIMLIB_WRITE_FLAG_NO_SOLID_SORT 0x00004000
2352 
2369 #define WIMLIB_WRITE_FLAG_UNSAFE_COMPACT 0x00008000
2370 
2376 #define WIMLIB_INIT_FLAG_ASSUME_UTF8 0x00000001
2377 
2386 #define WIMLIB_INIT_FLAG_DONT_ACQUIRE_PRIVILEGES 0x00000002
2387 
2393 #define WIMLIB_INIT_FLAG_STRICT_CAPTURE_PRIVILEGES 0x00000004
2394 
2400 #define WIMLIB_INIT_FLAG_STRICT_APPLY_PRIVILEGES 0x00000008
2401 
2404 #define WIMLIB_INIT_FLAG_DEFAULT_CASE_SENSITIVE 0x00000010
2405 
2408 #define WIMLIB_INIT_FLAG_DEFAULT_CASE_INSENSITIVE 0x00000020
2409 
2416 #define WIMLIB_REF_FLAG_GLOB_ENABLE 0x00000001
2417 
2425 #define WIMLIB_REF_FLAG_GLOB_ERR_ON_NOMATCH 0x00000002
2426 
2435 
2438 
2441 };
2442 
2447 
2451 
2455 
2458 };
2459 
2462 
2465 
2468 };
2469 
2472 
2475 
2478 
2481 };
2482 
2485 
2486  enum wimlib_update_op op;
2487 
2488  union {
2489  struct wimlib_add_command add;
2490  struct wimlib_delete_command delete_; /* Underscore is for C++
2491  compatibility. */
2493  };
2494 };
2495 
2588 };
2589 
2590 
2592 #define WIMLIB_NO_IMAGE 0
2593 
2595 #define WIMLIB_ALL_IMAGES (-1)
2596 
2627 extern int
2629  const wimlib_tchar *name,
2630  int *new_idx_ret);
2631 
2683 extern int
2685  const wimlib_tchar *source,
2686  const wimlib_tchar *name,
2687  const wimlib_tchar *config_file,
2688  int add_flags);
2689 
2700 extern int
2702  const struct wimlib_capture_source *sources,
2703  size_t num_sources,
2704  const wimlib_tchar *name,
2705  const wimlib_tchar *config_file,
2706  int add_flags);
2707 
2717 extern int
2718 wimlib_add_tree(WIMStruct *wim, int image,
2719  const wimlib_tchar *fs_source_path,
2720  const wimlib_tchar *wim_target_path, int add_flags);
2721 
2750 extern int
2752 
2781 extern int
2783 
2792 extern int
2794  const wimlib_tchar *path, int delete_flags);
2795 
2864 extern int
2865 wimlib_export_image(WIMStruct *src_wim, int src_image,
2866  WIMStruct *dest_wim,
2867  const wimlib_tchar *dest_name,
2868  const wimlib_tchar *dest_description,
2869  int export_flags);
2870 
2983 extern int
2985  const wimlib_tchar *target, int extract_flags);
2986 
3025 extern int
3027  const wimlib_tchar *image_num_or_name,
3028  const wimlib_tchar *target, int extract_flags);
3029 
3039 extern int
3041  const wimlib_tchar *image_num_or_name,
3042  const wimlib_tchar *target,
3043  int extract_flags,
3044  wimlib_progress_func_t progfunc,
3045  void *progctx);
3046 
3066 extern int
3068  const wimlib_tchar *target,
3069  const wimlib_tchar *path_list_file,
3070  int extract_flags);
3071 
3141 extern int
3143  int image,
3144  const wimlib_tchar *target,
3145  const wimlib_tchar * const *paths,
3146  size_t num_paths,
3147  int extract_flags);
3148 
3163 extern int
3165 
3178 extern void
3180 
3194 extern const wimlib_tchar *
3196 
3210 extern const wimlib_tchar *
3212 
3219 extern const wimlib_tchar *
3221 
3230 extern const wimlib_tchar *
3231 wimlib_get_image_name(const WIMStruct *wim, int image);
3232 
3261 extern const wimlib_tchar *
3262 wimlib_get_image_property(const WIMStruct *wim, int image,
3263  const wimlib_tchar *property_name);
3264 
3276 extern uint32_t
3278 
3286 extern const wimlib_tchar *
3288 
3303 extern int
3305 
3333 extern int
3334 wimlib_get_xml_data(WIMStruct *wim, void **buf_ret, size_t *bufsize_ret);
3335 
3354 extern int
3355 wimlib_global_init(int init_flags);
3356 
3363 extern void
3365 
3382 extern bool
3384 
3429 extern int
3430 wimlib_iterate_dir_tree(WIMStruct *wim, int image, const wimlib_tchar *path,
3431  int flags,
3432  wimlib_iterate_dir_tree_callback_t cb, void *user_ctx);
3433 
3463 extern int
3466  void *user_ctx);
3467 
3504 extern int
3505 wimlib_join(const wimlib_tchar * const *swms,
3506  unsigned num_swms,
3507  const wimlib_tchar *output_path,
3508  int swm_open_flags,
3509  int wim_write_flags);
3510 
3522 extern int
3524  unsigned num_swms,
3525  const wimlib_tchar *output_path,
3526  int swm_open_flags,
3527  int wim_write_flags,
3528  wimlib_progress_func_t progfunc,
3529  void *progctx);
3530 
3531 
3607 extern int
3609  int image,
3610  const wimlib_tchar *dir,
3611  int mount_flags,
3612  const wimlib_tchar *staging_dir);
3613 
3683 extern int
3685  int open_flags,
3686  WIMStruct **wim_ret);
3687 
3699 extern int
3701  int open_flags,
3702  WIMStruct **wim_ret,
3703  wimlib_progress_func_t progfunc,
3704  void *progctx);
3705 
3765 extern int
3766 wimlib_overwrite(WIMStruct *wim, int write_flags, unsigned num_threads);
3767 
3788 extern void
3790 
3796 extern void
3798 
3840 extern int
3842  const wimlib_tchar * const *resource_wimfiles_or_globs,
3843  unsigned count,
3844  int ref_flags,
3845  int open_flags);
3846 
3867 extern int
3869  unsigned num_resource_wims, int ref_flags);
3870 
3933 extern int
3935  WIMStruct *template_wim, int template_image,
3936  int flags);
3937 
3953 extern void
3955  wimlib_progress_func_t progfunc,
3956  void *progctx);
3957 
3967 extern int
3969  const wimlib_tchar *source_path, const wimlib_tchar *dest_path);
3970 
4001 extern int
4003  const wimlib_tchar *image_name_or_num);
4004 
4022 extern int
4024 
4041 extern int
4043 
4052 extern int
4054  const wimlib_tchar *description);
4055 
4063 extern int
4064 wimlib_set_image_flags(WIMStruct *wim, int image, const wimlib_tchar *flags);
4065 
4072 extern int
4073 wimlib_set_image_name(WIMStruct *wim, int image, const wimlib_tchar *name);
4074 
4112 extern int
4114  const wimlib_tchar *property_name,
4115  const wimlib_tchar *property_value);
4116 
4145 extern int
4146 wimlib_set_memory_allocator(void *(*malloc_func)(size_t),
4147  void (*free_func)(void *),
4148  void *(*realloc_func)(void *, size_t));
4149 
4175 extern int
4176 wimlib_set_output_chunk_size(WIMStruct *wim, uint32_t chunk_size);
4177 
4184 extern int
4186 
4206 extern int
4208  enum wimlib_compression_type ctype);
4209 
4216 extern int
4218  enum wimlib_compression_type ctype);
4219 
4242 extern int
4243 wimlib_set_print_errors(bool show_messages);
4244 
4268 extern int
4270  int which);
4271 
4310 extern int
4312  const wimlib_tchar *swm_name,
4313  uint64_t part_size,
4314  int write_flags);
4315 
4353 extern int
4354 wimlib_verify_wim(WIMStruct *wim, int verify_flags);
4355 
4389 extern int
4390 wimlib_unmount_image(const wimlib_tchar *dir, int unmount_flags);
4391 
4400 extern int
4402  int unmount_flags,
4403  wimlib_progress_func_t progfunc,
4404  void *progctx);
4405 
4496 extern int
4498  int image,
4499  const struct wimlib_update_command *cmds,
4500  size_t num_cmds,
4501  int update_flags);
4502 
4564 extern int
4566  const wimlib_tchar *path,
4567  int image,
4568  int write_flags,
4569  unsigned num_threads);
4570 
4591 extern int
4593  int fd,
4594  int image,
4595  int write_flags,
4596  unsigned num_threads);
4597 
4615 struct wimlib_compressor;
4616 
4618 struct wimlib_decompressor;
4619 
4649 extern int
4650 wimlib_set_default_compression_level(int ctype, unsigned int compression_level);
4651 
4660 extern uint64_t
4662  size_t max_block_size,
4663  unsigned int compression_level);
4664 
4665 #define WIMLIB_COMPRESSOR_FLAG_DESTRUCTIVE 0x80000000
4666 
4735 extern int
4737  size_t max_block_size,
4738  unsigned int compression_level,
4739  struct wimlib_compressor **compressor_ret);
4740 
4761 extern size_t
4762 wimlib_compress(const void *uncompressed_data, size_t uncompressed_size,
4763  void *compressed_data, size_t compressed_size_avail,
4764  struct wimlib_compressor *compressor);
4765 
4772 extern void
4773 wimlib_free_compressor(struct wimlib_compressor *compressor);
4774 
4808 extern int
4810  size_t max_block_size,
4811  struct wimlib_decompressor **decompressor_ret);
4812 
4840 extern int
4841 wimlib_decompress(const void *compressed_data, size_t compressed_size,
4842  void *uncompressed_data, size_t uncompressed_size,
4843  struct wimlib_decompressor *decompressor);
4844 
4851 extern void
4852 wimlib_free_decompressor(struct wimlib_decompressor *decompressor);
4853 
4854 
4860 #ifdef __cplusplus
4861 }
4862 #endif
4863 
4864 #endif /* _WIMLIB_H */
WIMLIB_PROGRESS_MSG_SCAN_BEGIN
@ WIMLIB_PROGRESS_MSG_SCAN_BEGIN
The directory or NTFS volume is about to be scanned for metadata.
Definition: wimlib.h:634
WIMLIB_ERR_ALREADY_LOCKED
@ WIMLIB_ERR_ALREADY_LOCKED
Definition: wimlib.h:2508
wimlib_compression_type
wimlib_compression_type
Specifies a compression type.
Definition: wimlib.h:497
wimlib_reference_resource_files
int wimlib_reference_resource_files(WIMStruct *wim, const wimlib_tchar *const *resource_wimfiles_or_globs, unsigned count, int ref_flags, int open_flags)
Reference file data from other WIM files or split WIM parts.
wimlib_get_compression_type_string
const wimlib_tchar * wimlib_get_compression_type_string(enum wimlib_compression_type ctype)
Convert a wimlib_compression_type value into a string.
wimlib_wim_info::compression_type
int32_t compression_type
The default compression type of resources in this WIM file, as one of the wimlib_compression_type con...
Definition: wimlib.h:1341
wimlib_progress_info::wimlib_progress_info_integrity
Valid on messages WIMLIB_PROGRESS_MSG_VERIFY_INTEGRITY and WIMLIB_PROGRESS_MSG_CALC_INTEGRITY.
Definition: wimlib.h:1052
wimlib_open_wim
int wimlib_open_wim(const wimlib_tchar *wim_file, int open_flags, WIMStruct **wim_ret)
Open a WIM file and create a WIMStruct for it.
WIMLIB_PROGRESS_MSG_VERIFY_INTEGRITY
@ WIMLIB_PROGRESS_MSG_VERIFY_INTEGRITY
The contents of the WIM file are being checked against the integrity table.
Definition: wimlib.h:676
WIMLIB_ERR_UNEXPECTED_END_OF_FILE
@ WIMLIB_ERR_UNEXPECTED_END_OF_FILE
Definition: wimlib.h:2562
WIMLIB_UPDATE_OP_ADD
@ WIMLIB_UPDATE_OP_ADD
Add a new file or directory tree to the image.
Definition: wimlib.h:2434
wimlib_progress_info::wimlib_progress_info_write_streams::completed_bytes
uint64_t completed_bytes
The number of bytes of file data that have been written so far.
Definition: wimlib.h:829
WIMLIB_ERR_INVALID_PARAM
@ WIMLIB_ERR_INVALID_PARAM
Definition: wimlib.h:2525
wimlib_global_init
int wimlib_global_init(int init_flags)
Initialization function for wimlib.
wimlib_set_error_file_by_name
int wimlib_set_error_file_by_name(const wimlib_tchar *path)
Set the path to the file to which the library will print error and warning messages.
wimlib_progress_info::wimlib_progress_info_scan::WIMLIB_SCAN_DENTRY_OK
@ WIMLIB_SCAN_DENTRY_OK
File looks okay and will be captured.
Definition: wimlib.h:874
wimlib_dir_entry::unix_rdev
uint32_t unix_rdev
The UNIX device ID (major and minor number) of this file.
Definition: wimlib.h:1626
wimlib_dir_entry::attributes
uint32_t attributes
File attributes, such as whether the file is a directory or not.
Definition: wimlib.h:1558
wimlib_wim_info::part_number
uint16_t part_number
For split WIMs, the 1-based index of this part within the split WIM; otherwise 1.
Definition: wimlib.h:1333
WIMLIB_ERR_WRITE
@ WIMLIB_ERR_WRITE
Definition: wimlib.h:2568
wimlib_resource_entry::sha1_hash
uint8_t sha1_hash[20]
The SHA-1 message digest of the blob's uncompressed contents.
Definition: wimlib.h:1430
wimlib_progress_info::wimlib_progress_info_done_with_file::path_to_file
const wimlib_tchar * path_to_file
Path to the file whose data has been written to the WIM file, or is currently being asynchronously co...
Definition: wimlib.h:1163
wimlib_extract_paths
int wimlib_extract_paths(WIMStruct *wim, int image, const wimlib_tchar *target, const wimlib_tchar *const *paths, size_t num_paths, int extract_flags)
Extract zero or more paths (files or directory trees) from the specified WIM image.
wimlib_progress_info::wimlib_progress_info_extract::total_streams
uint64_t total_streams
The number of file streams that will be extracted.
Definition: wimlib.h:980
wimlib_get_wim_info
int wimlib_get_wim_info(WIMStruct *wim, struct wimlib_wim_info *info)
Get basic information about a WIM file.
wimlib_set_print_errors
int wimlib_set_print_errors(bool show_messages)
Set whether wimlib can print error and warning messages to the error file, which defaults to standard...
WIMLIB_ERR_IMAGE_NAME_COLLISION
@ WIMLIB_ERR_IMAGE_NAME_COLLISION
Definition: wimlib.h:2513
WIMLIB_ERR_UNABLE_TO_READ_CAPTURE_CONFIG
@ WIMLIB_ERR_UNABLE_TO_READ_CAPTURE_CONFIG
Definition: wimlib.h:2579
wimlib_progress_info::wimboot_exclude
struct wimlib_progress_info::wimlib_progress_info_wimboot_exclude wimboot_exclude
wimlib_set_image_property
int wimlib_set_image_property(WIMStruct *wim, int image, const wimlib_tchar *property_name, const wimlib_tchar *property_value)
Since wimlib v1.8.3: add, modify, or remove a per-image property from the WIM's XML document.
wimlib_progress_info::wimlib_progress_info_write_streams::completed_parts
uint32_t completed_parts
This is currently broken and will always be 0.
Definition: wimlib.h:850
WIMLIB_ERR_IS_SPLIT_WIM
@ WIMLIB_ERR_IS_SPLIT_WIM
Definition: wimlib.h:2533
WIMLIB_PROGRESS_STATUS_CONTINUE
@ WIMLIB_PROGRESS_STATUS_CONTINUE
The operation should be continued.
Definition: wimlib.h:790
wimlib_dir_entry::reserved2
int32_t reserved2
Definition: wimlib.h:1644
WIMLIB_PROGRESS_MSG_UPDATE_END_COMMAND
@ WIMLIB_PROGRESS_MSG_UPDATE_END_COMMAND
A WIM update command has been executed.
Definition: wimlib.h:703
wimlib_resource_entry::is_missing
uint32_t is_missing
1 iff a blob with this hash was not found in the blob lookup table of the WIMStruct.
Definition: wimlib.h:1454
WIMLIB_PROGRESS_MSG_WRITE_STREAMS
@ WIMLIB_PROGRESS_MSG_WRITE_STREAMS
File data is currently being written to the WIM.
Definition: wimlib.h:653
wimlib_progress_info::wimlib_progress_info_wimboot_exclude
Valid on messages WIMLIB_PROGRESS_MSG_WIMBOOT_EXCLUDE
Definition: wimlib.h:1116
wimlib_resolve_image
int wimlib_resolve_image(WIMStruct *wim, const wimlib_tchar *image_name_or_num)
Translate a string specifying the name or number of an image in the WIM into the number of the image.
WIMLIB_ERR_METADATA_NOT_FOUND
@ WIMLIB_ERR_METADATA_NOT_FOUND
Definition: wimlib.h:2535
WIMLIB_ERR_INVALID_CHUNK_SIZE
@ WIMLIB_ERR_INVALID_CHUNK_SIZE
Definition: wimlib.h:2517
wimlib_progress_info::wimlib_progress_info_unmount
Valid on messages WIMLIB_PROGRESS_MSG_UNMOUNT_BEGIN.
Definition: wimlib.h:1125
wimlib_wim_info::resource_only
uint32_t resource_only
1 iff the "resource only" flag is set in this WIM's header
Definition: wimlib.h:1375
WIMLIB_ERR_INVALID_INTEGRITY_TABLE
@ WIMLIB_ERR_INVALID_INTEGRITY_TABLE
Definition: wimlib.h:2521
WIMLIB_ERR_INVALID_PART_NUMBER
@ WIMLIB_ERR_INVALID_PART_NUMBER
Definition: wimlib.h:2526
wimlib_get_xml_data
int wimlib_get_xml_data(WIMStruct *wim, void **buf_ret, size_t *bufsize_ret)
Read a WIM file's XML document into an in-memory buffer.
WIMLIB_ERR_SET_XATTR
@ WIMLIB_ERR_SET_XATTR
Definition: wimlib.h:2587
wimlib_progress_info::wimlib_progress_info_extract::image_name
const wimlib_tchar * image_name
Name of the image from which files are being extracted, or the empty string if the image is unnamed.
Definition: wimlib.h:960
WIMLIB_PROGRESS_MSG_REPLACE_FILE_IN_WIM
@ WIMLIB_PROGRESS_MSG_REPLACE_FILE_IN_WIM
A file in the image is being replaced as a result of a wimlib_add_command without WIMLIB_ADD_FLAG_NO_...
Definition: wimlib.h:710
wimlib_iterate_lookup_table
int wimlib_iterate_lookup_table(WIMStruct *wim, int flags, wimlib_iterate_lookup_table_callback_t cb, void *user_ctx)
Iterate through the blob lookup table of a WIMStruct.
WIMLIB_ERR_MKDIR
@ WIMLIB_ERR_MKDIR
Definition: wimlib.h:2536
WIMLIB_ERR_RENAME
@ WIMLIB_ERR_RENAME
Definition: wimlib.h:2551
wimlib_dir_entry::last_access_time
struct wimlib_timespec last_access_time
Time this file was last accessed.
Definition: wimlib.h:1603
wimlib_progress_info::wimlib_progress_info_extract::total_bytes
uint64_t total_bytes
The number of bytes of file data that will be extracted.
Definition: wimlib.h:970
wimlib_create_decompressor
int wimlib_create_decompressor(enum wimlib_compression_type ctype, size_t max_block_size, struct wimlib_decompressor **decompressor_ret)
Allocate a decompressor for the specified compression type.
wimlib_get_error_string
const wimlib_tchar * wimlib_get_error_string(enum wimlib_error_code code)
Convert a wimlib error code into a string describing it.
WIMLIB_COMPRESSION_TYPE_LZMS
@ WIMLIB_COMPRESSION_TYPE_LZMS
The LZMS compression format.
Definition: wimlib.h:570
WIMLIB_ERR_WIMBOOT
@ WIMLIB_ERR_WIMBOOT
Definition: wimlib.h:2571
WIMLIB_ERR_WIM_IS_INCOMPLETE
@ WIMLIB_ERR_WIM_IS_INCOMPLETE
Definition: wimlib.h:2580
wimlib_set_memory_allocator
int wimlib_set_memory_allocator(void *(*malloc_func)(size_t), void(*free_func)(void *), void *(*realloc_func)(void *, size_t))
Set the functions that wimlib uses to allocate and free memory.
wimlib_progress_info::wimlib_progress_info_handle_error::will_ignore
bool will_ignore
Indicates whether the error will be ignored or not.
Definition: wimlib.h:1224
WIMLIB_ERR_NOT_A_REGULAR_FILE
@ WIMLIB_ERR_NOT_A_REGULAR_FILE
Definition: wimlib.h:2541
wimlib_progress_info::wimlib_progress_info_rename
Valid on messages WIMLIB_PROGRESS_MSG_RENAME.
Definition: wimlib.h:1025
wimlib_add_command::fs_source_path
wimlib_tchar * fs_source_path
Filesystem path to the file or directory tree to add.
Definition: wimlib.h:2446
wimlib_error_code
wimlib_error_code
Possible values of the error code returned by many functions in wimlib.
Definition: wimlib.h:2506
wimlib_progress_info::wimlib_progress_info_scan::WIMLIB_SCAN_DENTRY_EXCLUDED
@ WIMLIB_SCAN_DENTRY_EXCLUDED
File is being excluded from capture due to the capture configuration.
Definition: wimlib.h:878
WIMLIB_PROGRESS_MSG_EXTRACT_TREE_END
@ WIMLIB_PROGRESS_MSG_EXTRACT_TREE_END
The files or directory trees have been successfully extracted.
Definition: wimlib.h:627
WIMLIB_PROGRESS_MSG_EXTRACT_TREE_BEGIN
@ WIMLIB_PROGRESS_MSG_EXTRACT_TREE_BEGIN
One or more file or directory trees within a WIM image is about to be extracted.
Definition: wimlib.h:592
wimlib_wim_info::is_marked_readonly
uint32_t is_marked_readonly
1 iff the "readonly" flag is set in this WIM's header
Definition: wimlib.h:1363
wimlib_extract_pathlist
int wimlib_extract_pathlist(WIMStruct *wim, int image, const wimlib_tchar *target, const wimlib_tchar *path_list_file, int extract_flags)
Similar to wimlib_extract_paths(), but the paths to extract from the WIM image are specified in the A...
wimlib_dir_entry::hard_link_group_id
uint64_t hard_link_group_id
A unique identifier for this file's inode.
Definition: wimlib.h:1594
WIMLIB_ERR_NOT_PERMITTED_TO_UNMOUNT
@ WIMLIB_ERR_NOT_PERMITTED_TO_UNMOUNT
Definition: wimlib.h:2577
wimlib_add_tree
int wimlib_add_tree(WIMStruct *wim, int image, const wimlib_tchar *fs_source_path, const wimlib_tchar *wim_target_path, int add_flags)
Add the file or directory tree at fs_source_path on the filesystem to the location wim_target_path wi...
wimlib_object_id::domain_id
uint8_t domain_id[WIMLIB_GUID_LEN]
Definition: wimlib.h:1507
wimlib_dir_entry::reserved
uint64_t reserved[4]
Definition: wimlib.h:1646
wimlib_dir_entry::reparse_tag
uint32_t reparse_tag
If the file is a reparse point (FILE_ATTRIBUTE_REPARSE_POINT set in the attributes),...
Definition: wimlib.h:1576
wimlib_join
int wimlib_join(const wimlib_tchar *const *swms, unsigned num_swms, const wimlib_tchar *output_path, int swm_open_flags, int wim_write_flags)
Join a split WIM into a stand-alone (one-part) WIM.
wimlib_extract_xml_data
int wimlib_extract_xml_data(WIMStruct *wim, FILE *fp)
Similar to wimlib_get_xml_data(), but the XML document will be written to the specified standard C FI...
wimlib_progress_info::wimlib_progress_info_unmount::unmount_flags
uint32_t unmount_flags
Flags passed to wimlib_unmount_image().
Definition: wimlib.h:1140
WIMLIB_GUID_LEN
#define WIMLIB_GUID_LEN
Length of a Globally Unique Identifier (GUID), in bytes.
Definition: wimlib.h:485
wimlib_extract_image_from_pipe_with_progress
int wimlib_extract_image_from_pipe_with_progress(int pipe_fd, const wimlib_tchar *image_num_or_name, const wimlib_tchar *target, int extract_flags, wimlib_progress_func_t progfunc, void *progctx)
Same as wimlib_extract_image_from_pipe(), but allows specifying a progress function.
wimlib_set_output_pack_compression_type
int wimlib_set_output_pack_compression_type(WIMStruct *wim, enum wimlib_compression_type ctype)
Similar to wimlib_set_output_compression_type(), but set the compression type for writing solid resou...
WIMLIB_PROGRESS_MSG_RENAME
@ WIMLIB_PROGRESS_MSG_RENAME
wimlib_overwrite() has successfully renamed the temporary file to the original WIM file,...
Definition: wimlib.h:669
wimlib_wim_info::image_count
uint32_t image_count
The number of images in this WIM file.
Definition: wimlib.h:1318
wimlib_progress_info::verify_streams
struct wimlib_progress_info::wimlib_progress_info_verify_streams verify_streams
wimlib_progress_info::wimlib_progress_info_write_streams::total_parts
uint32_t total_parts
The number of on-disk WIM files from which file data is being exported into the output WIM file.
Definition: wimlib.h:847
wimlib_dir_entry::streams
struct wimlib_stream_entry streams[]
Variable-length array of streams that make up this file.
Definition: wimlib.h:1662
wimlib_set_output_pack_chunk_size
int wimlib_set_output_pack_chunk_size(WIMStruct *wim, uint32_t chunk_size)
Similar to wimlib_set_output_chunk_size(), but set the chunk size for writing solid resources.
wimlib_unmount_image
int wimlib_unmount_image(const wimlib_tchar *dir, int unmount_flags)
Unmount a WIM image that was mounted using wimlib_mount_image().
wimlib_print_header
void wimlib_print_header(const WIMStruct *wim)
Print the header of the WIM file (intended for debugging only).
wimlib_progress_info::test_file_exclusion
struct wimlib_progress_info::wimlib_progress_info_test_file_exclusion test_file_exclusion
wimlib_wim_info::reserved_flags
uint32_t reserved_flags
Definition: wimlib.h:1379
wimlib_get_version_string
const wimlib_tchar * wimlib_get_version_string(void)
Since wimlib v1.13.0: like wimlib_get_version(), but returns the full PACKAGE_VERSION string that was...
WIMLIB_ERR_WIM_IS_READONLY
@ WIMLIB_ERR_WIM_IS_READONLY
Definition: wimlib.h:2567
WIMLIB_ERR_FUSE
@ WIMLIB_ERR_FUSE
Definition: wimlib.h:2510
WIMLIB_ERR_INSUFFICIENT_PRIVILEGES
@ WIMLIB_ERR_INSUFFICIENT_PRIVILEGES
Definition: wimlib.h:2514
wimlib_update_command::op
enum wimlib_update_op op
Definition: wimlib.h:2486
wimlib_delete_path
int wimlib_delete_path(WIMStruct *wim, int image, const wimlib_tchar *path, int delete_flags)
Delete the path from the specified image of the wim.
wimlib_capture_source
An array of these structures is passed to wimlib_add_image_multisource() to specify the sources from ...
Definition: wimlib.h:1257
wimlib_progress_info::wimlib_progress_info_scan::WIMLIB_SCAN_DENTRY_FIXED_SYMLINK
@ WIMLIB_SCAN_DENTRY_FIXED_SYMLINK
The file is an absolute symbolic link or junction that points into the capture directory,...
Definition: wimlib.h:890
WIMLIB_ERR_SET_ATTRIBUTES
@ WIMLIB_ERR_SET_ATTRIBUTES
Definition: wimlib.h:2555
wimlib_progress_info::wimlib_progress_info_verify_streams::total_streams
uint64_t total_streams
Definition: wimlib.h:1177
wimlib_progress_info::unmount
struct wimlib_progress_info::wimlib_progress_info_unmount unmount
wimlib_dir_entry::dos_name
const wimlib_tchar * dos_name
8.3 name (or "DOS name", or "short name") of this file; or NULL if this file has no such name.
Definition: wimlib.h:1521
wimlib_progress_info::replace
struct wimlib_progress_info::wimlib_progress_info_replace replace
wimlib_progress_info::wimlib_progress_info_scan::WIMLIB_SCAN_DENTRY_UNSUPPORTED
@ WIMLIB_SCAN_DENTRY_UNSUPPORTED
File is being excluded from capture due to being of an unsupported type.
Definition: wimlib.h:882
wimlib_rename_command::wim_source_path
wimlib_tchar * wim_source_path
The path to the source file or directory within the image.
Definition: wimlib.h:2474
WIMLIB_UPDATE_OP_RENAME
@ WIMLIB_UPDATE_OP_RENAME
Rename a file or directory tree in the image.
Definition: wimlib.h:2440
wimlib_tchar
char wimlib_tchar
See Character encoding.
Definition: wimlib.h:459
wimlib_free_decompressor
void wimlib_free_decompressor(struct wimlib_decompressor *decompressor)
Free a decompressor previously allocated with wimlib_create_decompressor().
WIMLIB_ERR_INVALID_RESOURCE_HASH
@ WIMLIB_ERR_INVALID_RESOURCE_HASH
Definition: wimlib.h:2529
WIMLIB_ERR_DECOMPRESSION
@ WIMLIB_ERR_DECOMPRESSION
Definition: wimlib.h:2509
wimlib_extract_image_from_pipe
int wimlib_extract_image_from_pipe(int pipe_fd, const wimlib_tchar *image_num_or_name, const wimlib_tchar *target, int extract_flags)
Extract one image from a pipe on which a pipable WIM is being sent.
wimlib_set_image_name
int wimlib_set_image_name(WIMStruct *wim, int image, const wimlib_tchar *name)
Change the name of a WIM image.
WIMLIB_ERR_INVALID_XATTR
@ WIMLIB_ERR_INVALID_XATTR
Definition: wimlib.h:2586
wimlib_progress_info::wimlib_progress_info_rename::to
const wimlib_tchar * to
Name of the original WIM file to which the temporary file is being renamed.
Definition: wimlib.h:1031
wimlib_progress_info::wimlib_progress_info_split::cur_part_number
unsigned cur_part_number
Number of the split WIM part that is about to be started (WIMLIB_PROGRESS_MSG_SPLIT_BEGIN_PART) or ha...
Definition: wimlib.h:1094
wimlib_progress_info::wimlib_progress_info_scan::WIMLIB_SCAN_DENTRY_NOT_FIXED_SYMLINK
@ WIMLIB_SCAN_DENTRY_NOT_FIXED_SYMLINK
Reparse-point fixups are enabled, but the file is an absolute symbolic link or junction that does not...
Definition: wimlib.h:896
WIMLIB_ERR_INVALID_COMPRESSION_TYPE
@ WIMLIB_ERR_INVALID_COMPRESSION_TYPE
Definition: wimlib.h:2518
wimlib_reference_resources
int wimlib_reference_resources(WIMStruct *wim, WIMStruct **resource_wims, unsigned num_resource_wims, int ref_flags)
Similar to wimlib_reference_resource_files(), but operates at a lower level where the caller must ope...
WIMLIB_PROGRESS_MSG_WRITE_METADATA_BEGIN
@ WIMLIB_PROGRESS_MSG_WRITE_METADATA_BEGIN
Per-image metadata is about to be written to the WIM file.
Definition: wimlib.h:657
WIMLIB_ERR_SUCCESS
@ WIMLIB_ERR_SUCCESS
Definition: wimlib.h:2507
wimlib_dir_entry::unix_gid
uint32_t unix_gid
The UNIX group ID of this file.
Definition: wimlib.h:1613
WIMLIB_ERR_SET_SHORT_NAME
@ WIMLIB_ERR_SET_SHORT_NAME
Definition: wimlib.h:2558
wimlib_decompress
int wimlib_decompress(const void *compressed_data, size_t compressed_size, void *uncompressed_data, size_t uncompressed_size, struct wimlib_decompressor *decompressor)
Decompress a buffer of data.
wimlib_resource_entry::raw_resource_compressed_size
uint64_t raw_resource_compressed_size
If this blob is located in a solid WIM resource, then this is the compressed size of that solid resou...
Definition: wimlib.h:1467
wimlib_progress_info::wimlib_progress_info_verify_streams::completed_bytes
uint64_t completed_bytes
Definition: wimlib.h:1180
wimlib_dir_entry::num_links
uint32_t num_links
Number of links to this file's inode (hard links).
Definition: wimlib.h:1582
wimlib_get_compressor_needed_memory
uint64_t wimlib_get_compressor_needed_memory(enum wimlib_compression_type ctype, size_t max_block_size, unsigned int compression_level)
Return the approximate number of bytes needed to allocate a compressor with wimlib_create_compressor(...
wimlib_progress_info::wimlib_progress_info_verify_image::current_image
uint32_t current_image
Definition: wimlib.h:1171
wimlib_progress_info::wimlib_progress_info_replace
Valid on messages WIMLIB_PROGRESS_MSG_REPLACE_FILE_IN_WIM
Definition: wimlib.h:1110
WIMLIB_COMPRESSION_TYPE_XPRESS
@ WIMLIB_COMPRESSION_TYPE_XPRESS
The XPRESS compression format.
Definition: wimlib.h:525
WIMLIB_ERR_UNKNOWN_VERSION
@ WIMLIB_ERR_UNKNOWN_VERSION
Definition: wimlib.h:2564
wimlib_set_output_compression_type
int wimlib_set_output_compression_type(WIMStruct *wim, enum wimlib_compression_type ctype)
Set a WIMStruct's output compression type.
wimlib_progress_info::wimlib_progress_info_split::part_name
wimlib_tchar * part_name
Name of the split WIM part that is about to be started (WIMLIB_PROGRESS_MSG_SPLIT_BEGIN_PART) or has ...
Definition: wimlib.h:1106
WIMLIB_ERR_MKNOD
@ WIMLIB_ERR_MKNOD
Definition: wimlib.h:2574
wimlib_write
int wimlib_write(WIMStruct *wim, const wimlib_tchar *path, int image, int write_flags, unsigned num_threads)
Persist a WIMStruct to a new on-disk WIM file.
WIMLIB_ERR_LINK
@ WIMLIB_ERR_LINK
Definition: wimlib.h:2534
wimlib_add_empty_image
int wimlib_add_empty_image(WIMStruct *wim, const wimlib_tchar *name, int *new_idx_ret)
Append an empty image to a WIMStruct.
wimlib_wim_info::boot_index
uint32_t boot_index
The 1-based index of the bootable image in this WIM file, or 0 if no image is bootable.
Definition: wimlib.h:1322
wimlib_dir_entry::creation_time_high
int32_t creation_time_high
High 32 bits of the seconds portion of the creation timestamp, filled in if wimlib_timespec....
Definition: wimlib.h:1634
WIMLIB_ERR_MQUEUE
@ WIMLIB_ERR_MQUEUE
Definition: wimlib.h:2537
WIMLIB_ERR_FVE_LOCKED_VOLUME
@ WIMLIB_ERR_FVE_LOCKED_VOLUME
Definition: wimlib.h:2578
wimlib_register_progress_function
void wimlib_register_progress_function(WIMStruct *wim, wimlib_progress_func_t progfunc, void *progctx)
Register a progress function with a WIMStruct.
wimlib_progress_info::wimlib_progress_info_split::total_parts
unsigned total_parts
Total number of split WIM parts that are being written.
Definition: wimlib.h:1097
wimlib_get_image_description
const wimlib_tchar * wimlib_get_image_description(const WIMStruct *wim, int image)
Get the description of the specified image.
wimlib_add_command::add_flags
int add_flags
Bitwise OR of WIMLIB_ADD_FLAG_* flags.
Definition: wimlib.h:2457
wimlib_update_op
wimlib_update_op
The specific type of update to perform.
Definition: wimlib.h:2432
WIMLIB_ERR_WIM_IS_ENCRYPTED
@ WIMLIB_ERR_WIM_IS_ENCRYPTED
Definition: wimlib.h:2570
wimlib_set_default_compression_level
int wimlib_set_default_compression_level(int ctype, unsigned int compression_level)
Set the default compression level for the specified compression type.
WIMLIB_ERR_RESOURCE_ORDER
@ WIMLIB_ERR_RESOURCE_ORDER
Definition: wimlib.h:2554
WIMLIB_ERR_NOT_PIPABLE
@ WIMLIB_ERR_NOT_PIPABLE
Definition: wimlib.h:2543
wimlib_resource_entry::reserved_flags
uint32_t reserved_flags
Definition: wimlib.h:1459
wimlib_dir_entry::last_write_time
struct wimlib_timespec last_write_time
Time this file was last written to.
Definition: wimlib.h:1600
WIMLIB_PROGRESS_MSG_EXTRACT_STREAMS
@ WIMLIB_PROGRESS_MSG_EXTRACT_STREAMS
File data is currently being extracted.
Definition: wimlib.h:605
wimlib_progress_info::wimlib_progress_info_extract::wimfile_name
const wimlib_tchar * wimfile_name
If the WIMStruct from which the extraction being performed has a backing file, then this is an absolu...
Definition: wimlib.h:956
wimlib_progress_info::wimlib_progress_info_unmount::mounted_image
uint32_t mounted_image
1-based index of image being unmounted.
Definition: wimlib.h:1133
wimlib_progress_info::wimlib_progress_info_scan::wim_target_path
const wimlib_tchar * wim_target_path
Target path in the image.
Definition: wimlib.h:903
WIMLIB_ERR_ABORTED_BY_PROGRESS
@ WIMLIB_ERR_ABORTED_BY_PROGRESS
Definition: wimlib.h:2572
wimlib_capture_source::reserved
long reserved
Reserved; set to 0.
Definition: wimlib.h:1267
WIMLIB_ERR_CONCURRENT_MODIFICATION_DETECTED
@ WIMLIB_ERR_CONCURRENT_MODIFICATION_DETECTED
Definition: wimlib.h:2584
wimlib_dir_entry::creation_time
struct wimlib_timespec creation_time
Time this file was created.
Definition: wimlib.h:1597
wimlib_resource_entry::is_spanned
uint32_t is_spanned
Definition: wimlib.h:1449
WIMLIB_ERR_READ
@ WIMLIB_ERR_READ
Definition: wimlib.h:2549
wimlib_progress_info::wimlib_progress_info_wimboot_exclude::extraction_path
const wimlib_tchar * extraction_path
Path to which the file is being extracted
Definition: wimlib.h:1121
wimlib_dir_entry::depth
size_t depth
Depth of this directory entry, where 0 is the root, 1 is the root's children, ...,...
Definition: wimlib.h:1529
wimlib_dir_entry::last_access_time_high
int32_t last_access_time_high
High 32 bits of the seconds portion of the last access timestamp, filled in if wimlib_timespec....
Definition: wimlib.h:1642
wimlib_progress_info::wimlib_progress_info_write_streams::num_threads
uint32_t num_threads
The number of threads being used for data compression; or, if no compression is being performed,...
Definition: wimlib.h:838
wimlib_progress_status
wimlib_progress_status
Valid return values from user-provided progress functions (wimlib_progress_func_t).
Definition: wimlib.h:786
WIMLIB_COMPRESSION_TYPE_NONE
@ WIMLIB_COMPRESSION_TYPE_NONE
No compression.
Definition: wimlib.h:505
wimlib_object_id
Since wimlib v1.9.1: an object ID, which is an extra piece of metadata that may be associated with a ...
Definition: wimlib.h:1503
wimlib_progress_info::wimlib_progress_info_scan::status
enum wimlib_progress_info::wimlib_progress_info_scan::@0 status
Dentry scan status, valid on WIMLIB_PROGRESS_MSG_SCAN_DENTRY.
wimlib_split
int wimlib_split(WIMStruct *wim, const wimlib_tchar *swm_name, uint64_t part_size, int write_flags)
Split a WIM into multiple parts.
wimlib_free_compressor
void wimlib_free_compressor(struct wimlib_compressor *compressor)
Free a compressor previously allocated with wimlib_create_compressor().
WIMLIB_ERR_INVALID_REPARSE_DATA
@ WIMLIB_ERR_INVALID_REPARSE_DATA
Definition: wimlib.h:2528
WIMLIB_ERR_UNSUPPORTED
@ WIMLIB_ERR_UNSUPPORTED
Definition: wimlib.h:2565
wimlib_progress_info::wimlib_progress_info_replace::path_in_wim
const wimlib_tchar * path_in_wim
Path to the file in the image that is being replaced
Definition: wimlib.h:1112
WIMLIB_ERR_SET_TIMESTAMPS
@ WIMLIB_ERR_SET_TIMESTAMPS
Definition: wimlib.h:2559
wimlib_resource_entry::is_metadata
uint32_t is_metadata
1 iff this blob contains the metadata for an image.
Definition: wimlib.h:1446
wimlib_rename_path
int wimlib_rename_path(WIMStruct *wim, int image, const wimlib_tchar *source_path, const wimlib_tchar *dest_path)
Rename the source_path to the dest_path in the specified image of the wim.
wimlib_resource_entry
Information about a "blob", which is a fixed length sequence of binary data.
Definition: wimlib.h:1413
wimlib_dir_entry::unix_mode
uint32_t unix_mode
The UNIX mode of this file.
Definition: wimlib.h:1620
wimlib_progress_info::wimlib_progress_info_extract::completed_bytes
uint64_t completed_bytes
The number of bytes of file data that have been extracted so far.
Definition: wimlib.h:974
WIMLIB_PROGRESS_MSG_HANDLE_ERROR
@ WIMLIB_PROGRESS_MSG_HANDLE_ERROR
An error has occurred and the progress function is being asked whether to ignore the error or not.
Definition: wimlib.h:777
wimlib_update_command::add
struct wimlib_add_command add
Definition: wimlib.h:2489
wimlib_add_command::config_file
wimlib_tchar * config_file
Path to capture configuration file to use, or NULL if not specified.
Definition: wimlib.h:2454
wimlib_progress_info::wimlib_progress_info_extract::completed_streams
uint64_t completed_streams
The number of file streams that have been extracted so far.
Definition: wimlib.h:984
wimlib_rename_command::wim_target_path
wimlib_tchar * wim_target_path
The path to the destination file or directory within the image.
Definition: wimlib.h:2477
wimlib_capture_source::fs_source_path
wimlib_tchar * fs_source_path
Absolute or relative path to a file or directory on the external filesystem to be included in the ima...
Definition: wimlib.h:1260
wimlib_progress_info::wimlib_progress_info_write_streams::completed_streams
uint64_t completed_streams
The number of distinct file data "blobs" that have been written so far.
Definition: wimlib.h:834
WIMLIB_PROGRESS_MSG_END_VERIFY_IMAGE
@ WIMLIB_PROGRESS_MSG_END_VERIFY_IMAGE
wimlib_verify_wim() has finished verifying the metadata for an image.
Definition: wimlib.h:737
wimlib_wim_info::guid
uint8_t guid[WIMLIB_GUID_LEN]
The globally unique identifier for this WIM.
Definition: wimlib.h:1315
wimlib_dir_entry::security_descriptor_size
size_t security_descriptor_size
Size of the above security descriptor, in bytes.
Definition: wimlib.h:1537
WIMLIB_PROGRESS_MSG_WIMBOOT_EXCLUDE
@ WIMLIB_PROGRESS_MSG_WIMBOOT_EXCLUDE
An image is being extracted with WIMLIB_EXTRACT_FLAG_WIMBOOT, and a file is being extracted normally ...
Definition: wimlib.h:718
WIMLIB_PROGRESS_MSG_SPLIT_BEGIN_PART
@ WIMLIB_PROGRESS_MSG_SPLIT_BEGIN_PART
A wimlib_split() operation is in progress, and a new split part is about to be started.
Definition: wimlib.h:687
WIMLIB_ERR_RESOURCE_NOT_FOUND
@ WIMLIB_ERR_RESOURCE_NOT_FOUND
Definition: wimlib.h:2553
wimlib_get_image_name
const wimlib_tchar * wimlib_get_image_name(const WIMStruct *wim, int image)
Get the name of the specified image.
wimlib_progress_info::wimlib_progress_info_write_streams::total_streams
uint64_t total_streams
An upper bound on the number of distinct file data "blobs" that will be written.
Definition: wimlib.h:823
wimlib_print_available_images
void wimlib_print_available_images(const WIMStruct *wim, int image)
(Deprecated) Print information about one image, or all images, contained in a WIM.
wimlib_wim_info::has_integrity_table
uint32_t has_integrity_table
1 iff this WIM file has an integrity table.
Definition: wimlib.h:1348
wimlib_progress_info::wimlib_progress_info_update::command
const struct wimlib_update_command * command
Pointer to the update command that will be executed or has just been executed.
Definition: wimlib.h:1039
wimlib_progress_info::wimlib_progress_info_unmount::mount_flags
uint32_t mount_flags
Flags that were passed to wimlib_mount_image() when the mountpoint was set up.
Definition: wimlib.h:1137
WIMLIB_PROGRESS_MSG_EXTRACT_SPWM_PART_BEGIN
@ WIMLIB_PROGRESS_MSG_EXTRACT_SPWM_PART_BEGIN
Starting to read a new part of a split pipable WIM over the pipe.
Definition: wimlib.h:609
wimlib_resource_entry::is_free
uint32_t is_free
Definition: wimlib.h:1448
WIMLIB_PROGRESS_MSG_SCAN_END
@ WIMLIB_PROGRESS_MSG_SCAN_END
The directory or NTFS volume has been successfully scanned.
Definition: wimlib.h:646
wimlib_progress_info::write_streams
struct wimlib_progress_info::wimlib_progress_info_write_streams write_streams
WIMLIB_PROGRESS_MSG_CALC_INTEGRITY
@ WIMLIB_PROGRESS_MSG_CALC_INTEGRITY
An integrity table is being calculated for the WIM being written.
Definition: wimlib.h:682
wimlib_set_image_flags
int wimlib_set_image_flags(WIMStruct *wim, int image, const wimlib_tchar *flags)
Change what is stored in the <FLAGS> element in the WIM XML document (usually something like "Core" o...
wimlib_progress_info::scan
struct wimlib_progress_info::wimlib_progress_info_scan scan
WIMLIB_ERR_INVALID_UTF8_STRING
@ WIMLIB_ERR_INVALID_UTF8_STRING
Definition: wimlib.h:2531
WIMLIB_ERR_SET_REPARSE_DATA
@ WIMLIB_ERR_SET_REPARSE_DATA
Definition: wimlib.h:2556
wimlib_object_id::birth_object_id
uint8_t birth_object_id[WIMLIB_GUID_LEN]
Definition: wimlib.h:1506
WIMLIB_PROGRESS_MSG_UNMOUNT_BEGIN
@ WIMLIB_PROGRESS_MSG_UNMOUNT_BEGIN
Starting to unmount an image.
Definition: wimlib.h:722
wimlib_wim_info::chunk_size
uint32_t chunk_size
The default compression chunk size of resources in this WIM file.
Definition: wimlib.h:1329
wimlib_create_compressor
int wimlib_create_compressor(enum wimlib_compression_type ctype, size_t max_block_size, unsigned int compression_level, struct wimlib_compressor **compressor_ret)
Allocate a compressor for the specified compression type using the specified parameters.
WIMLIB_ERR_INVALID_UTF16_STRING
@ WIMLIB_ERR_INVALID_UTF16_STRING
Definition: wimlib.h:2530
wimlib_wim_info::metadata_only
uint32_t metadata_only
1 iff the "metadata only" flag is set in this WIM's header
Definition: wimlib.h:1372
wimlib_progress_info::wimlib_progress_info_update::total_commands
size_t total_commands
Number of update commands that are being executed as part of this call to wimlib_update_image().
Definition: wimlib.h:1047
wimlib_progress_info::wimlib_progress_info_verify_streams::wimfile
const wimlib_tchar * wimfile
Definition: wimlib.h:1176
wimlib_progress_info::wimlib_progress_info_split::total_bytes
uint64_t total_bytes
Total size of the original WIM's file and metadata resources (compressed).
Definition: wimlib.h:1084
wimlib_compress
size_t wimlib_compress(const void *uncompressed_data, size_t uncompressed_size, void *compressed_data, size_t compressed_size_avail, struct wimlib_compressor *compressor)
Compress a buffer of data.
wimlib_dir_entry
Structure passed to the wimlib_iterate_dir_tree() callback function.
Definition: wimlib.h:1514
WIMLIB_PROGRESS_MSG_EXTRACT_METADATA
@ WIMLIB_PROGRESS_MSG_EXTRACT_METADATA
This message may be sent periodically (not necessarily for every file) while file and directory metad...
Definition: wimlib.h:617
WIMLIB_PROGRESS_MSG_WRITE_METADATA_END
@ WIMLIB_PROGRESS_MSG_WRITE_METADATA_END
The per-image metadata has been written to the WIM file.
Definition: wimlib.h:662
wimlib_progress_info::wimlib_progress_info_integrity::total_bytes
uint64_t total_bytes
The number of bytes in the WIM file that are covered by integrity checks.
Definition: wimlib.h:1056
WIMStruct
struct WIMStruct WIMStruct
Opaque structure that represents a WIM, possibly backed by an on-disk file.
Definition: wimlib.h:451
wimlib_set_output_chunk_size
int wimlib_set_output_chunk_size(WIMStruct *wim, uint32_t chunk_size)
Set a WIMStruct's output compression chunk size.
wimlib_progress_info::wimlib_progress_info_extract::current_file_count
uint64_t current_file_count
For WIMLIB_PROGRESS_MSG_EXTRACT_FILE_STRUCTURE and WIMLIB_PROGRESS_MSG_EXTRACT_METADATA messages,...
Definition: wimlib.h:1003
wimlib_progress_info::wimlib_progress_info_scan
Valid on messages WIMLIB_PROGRESS_MSG_SCAN_BEGIN, WIMLIB_PROGRESS_MSG_SCAN_DENTRY,...
Definition: wimlib.h:856
wimlib_progress_info::wimlib_progress_info_integrity::total_chunks
uint32_t total_chunks
The number of individually checksummed "chunks" the integrity-checked region is divided into.
Definition: wimlib.h:1064
wimlib_dir_entry::num_named_streams
uint32_t num_named_streams
Number of named data streams this file has.
Definition: wimlib.h:1585
wimlib_overwrite
int wimlib_overwrite(WIMStruct *wim, int write_flags, unsigned num_threads)
Commit a WIMStruct to disk, updating its backing file.
WIMLIB_PROGRESS_MSG_VERIFY_STREAMS
@ WIMLIB_PROGRESS_MSG_VERIFY_STREAMS
wimlib_verify_wim() is verifying file data integrity.
Definition: wimlib.h:741
wimlib_progress_info::wimlib_progress_info_scan::num_nondirs_scanned
uint64_t num_nondirs_scanned
The number of non-directories scanned so far, not counting excluded/unsupported files.
Definition: wimlib.h:918
WIMLIB_ERR_NO_FILENAME
@ WIMLIB_ERR_NO_FILENAME
Definition: wimlib.h:2544
wimlib_capture_source::wim_target_path
wimlib_tchar * wim_target_path
Destination path in the image.
Definition: wimlib.h:1264
WIMLIB_PROGRESS_MSG_UPDATE_BEGIN_COMMAND
@ WIMLIB_PROGRESS_MSG_UPDATE_BEGIN_COMMAND
A WIM update command is about to be executed.
Definition: wimlib.h:697
wimlib_verify_wim
int wimlib_verify_wim(WIMStruct *wim, int verify_flags)
Perform verification checks on a WIM file.
wimlib_reference_template_image
int wimlib_reference_template_image(WIMStruct *wim, int new_image, WIMStruct *template_wim, int template_image, int flags)
Declare that a newly added image is mostly the same as a prior image, but captured at a later point i...
wimlib_free
void wimlib_free(WIMStruct *wim)
Release a reference to a WIMStruct.
WIMLIB_ERR_INVALID_METADATA_RESOURCE
@ WIMLIB_ERR_INVALID_METADATA_RESOURCE
Definition: wimlib.h:2523
WIMLIB_ERR_UNICODE_STRING_NOT_REPRESENTABLE
@ WIMLIB_ERR_UNICODE_STRING_NOT_REPRESENTABLE
Definition: wimlib.h:2563
wimlib_wim_info::spanned
uint32_t spanned
1 iff the "spanned" flag is set in this WIM's header
Definition: wimlib.h:1366
WIMLIB_ERR_NTFS_3G
@ WIMLIB_ERR_NTFS_3G
Definition: wimlib.h:2545
wimlib_progress_info::wimlib_progress_info_unmount::mountpoint
const wimlib_tchar * mountpoint
Path to directory being unmounted
Definition: wimlib.h:1127
wimlib_progress_info::wimlib_progress_info_verify_streams::total_bytes
uint64_t total_bytes
Definition: wimlib.h:1178
wimlib_progress_info::wimlib_progress_info_test_file_exclusion::will_exclude
bool will_exclude
Indicates whether the file or directory will be excluded from capture or not.
Definition: wimlib.h:1206
wimlib_progress_func_t
enum wimlib_progress_status(* wimlib_progress_func_t)(enum wimlib_progress_msg msg_type, union wimlib_progress_info *info, void *progctx)
A user-supplied function that will be called periodically during certain WIM operations.
Definition: wimlib.h:1247
wimlib_progress_info::wimlib_progress_info_wimboot_exclude::path_in_wim
const wimlib_tchar * path_in_wim
Path to the file in the image
Definition: wimlib.h:1118
wimlib_resource_entry::packed
uint32_t packed
1 iff this blob is located in a solid resource.
Definition: wimlib.h:1457
WIMLIB_COMPRESSION_TYPE_LZX
@ WIMLIB_COMPRESSION_TYPE_LZX
The LZX compression format.
Definition: wimlib.h:547
wimlib_progress_msg
wimlib_progress_msg
Possible values of the first parameter to the user-supplied wimlib_progress_func_t progress function.
Definition: wimlib.h:579
WIMLIB_ERR_INTEGRITY
@ WIMLIB_ERR_INTEGRITY
Definition: wimlib.h:2515
wimlib_progress_info::wimlib_progress_info_extract::end_file_count
uint64_t end_file_count
For WIMLIB_PROGRESS_MSG_EXTRACT_FILE_STRUCTURE and WIMLIB_PROGRESS_MSG_EXTRACT_METADATA messages,...
Definition: wimlib.h:1021
wimlib_unmount_image_with_progress
int wimlib_unmount_image_with_progress(const wimlib_tchar *dir, int unmount_flags, wimlib_progress_func_t progfunc, void *progctx)
Same as wimlib_unmount_image(), but allows specifying a progress function.
wimlib_progress_info::wimlib_progress_info_split
Valid on messages WIMLIB_PROGRESS_MSG_SPLIT_BEGIN_PART and WIMLIB_PROGRESS_MSG_SPLIT_END_PART.
Definition: wimlib.h:1081
wimlib_wim_info::total_bytes
uint64_t total_bytes
The size of this WIM file in bytes, excluding the XML data and integrity table.
Definition: wimlib.h:1345
wimlib_progress_info::wimlib_progress_info_handle_error::error_code
int error_code
The wimlib error code associated with the error.
Definition: wimlib.h:1217
WIMLIB_ERR_DUPLICATE_EXPORTED_IMAGE
@ WIMLIB_ERR_DUPLICATE_EXPORTED_IMAGE
Definition: wimlib.h:2583
WIMLIB_ERR_NOTDIR
@ WIMLIB_ERR_NOTDIR
Definition: wimlib.h:2539
wimlib_resource_entry::part_number
uint32_t part_number
If this blob is located in a WIM resource, then this is the part number of the WIM file containing it...
Definition: wimlib.h:1434
wimlib_progress_info::wimlib_progress_info_extract::reserved
const wimlib_tchar * reserved
Reserved.
Definition: wimlib.h:967
WIMLIB_ERR_READLINK
@ WIMLIB_ERR_READLINK
Definition: wimlib.h:2550
wimlib_progress_info::wimlib_progress_info_write_streams::total_bytes
uint64_t total_bytes
An upper bound on the number of bytes of file data that will be written.
Definition: wimlib.h:815
wimlib_progress_info::wimlib_progress_info_scan::source
const wimlib_tchar * source
Top-level directory being scanned; or, when capturing an NTFS volume with WIMLIB_ADD_FLAG_NTFS,...
Definition: wimlib.h:862
WIMLIB_ERR_UNSUPPORTED_FILE
@ WIMLIB_ERR_UNSUPPORTED_FILE
Definition: wimlib.h:2566
wimlib_stream_entry::reserved
uint64_t reserved[4]
Definition: wimlib.h:1495
WIMLIB_ERR_MOUNTED_IMAGE_IS_BUSY
@ WIMLIB_ERR_MOUNTED_IMAGE_IS_BUSY
Definition: wimlib.h:2575
wimlib_get_image_property
const wimlib_tchar * wimlib_get_image_property(const WIMStruct *wim, int image, const wimlib_tchar *property_name)
Since wimlib v1.8.3: get a per-image property from the WIM's XML document.
wimlib_progress_info::wimlib_progress_info_integrity::completed_chunks
uint32_t completed_chunks
The number of chunks that have been checksummed so far.
Definition: wimlib.h:1068
wimlib_progress_info::done_with_file
struct wimlib_progress_info::wimlib_progress_info_done_with_file done_with_file
wimlib_progress_info::extract
struct wimlib_progress_info::wimlib_progress_info_extract extract
wimlib_resource_entry::raw_resource_offset_in_wim
uint64_t raw_resource_offset_in_wim
If this blob is located in a solid WIM resource, then this is the offset of that solid resource withi...
Definition: wimlib.h:1463
wimlib_add_command::wim_target_path
wimlib_tchar * wim_target_path
Destination path in the image.
Definition: wimlib.h:2450
wimlib_timespec
#define wimlib_timespec
Definition: wimlib.h:443
WIMLIB_ERR_INVALID_HEADER
@ WIMLIB_ERR_INVALID_HEADER
Definition: wimlib.h:2519
WIMLIB_ERR_GLOB_HAD_NO_MATCHES
@ WIMLIB_ERR_GLOB_HAD_NO_MATCHES
Definition: wimlib.h:2511
wimlib_progress_info::integrity
struct wimlib_progress_info::wimlib_progress_info_integrity integrity
wimlib_dir_entry::filename
const wimlib_tchar * filename
Name of the file, or NULL if this file is unnamed.
Definition: wimlib.h:1517
wimlib_update_command::delete_
struct wimlib_delete_command delete_
Definition: wimlib.h:2490
wimlib_progress_info::wimlib_progress_info_test_file_exclusion::path
const wimlib_tchar * path
Path to the file for which exclusion is being tested.
Definition: wimlib.h:1198
wimlib_global_cleanup
void wimlib_global_cleanup(void)
Cleanup function for wimlib.
wimlib_resource_entry::reference_count
uint32_t reference_count
If this blob is not missing, then this is the number of times this blob is referenced over all images...
Definition: wimlib.h:1439
wimlib_wim_info::wim_version
uint32_t wim_version
The version of the WIM file format used in this WIM file.
Definition: wimlib.h:1325
wimlib_progress_info::wimlib_progress_info_split::completed_bytes
uint64_t completed_bytes
Number of bytes of file and metadata resources that have been copied out of the original WIM so far.
Definition: wimlib.h:1089
wimlib_iterate_dir_tree_callback_t
int(* wimlib_iterate_dir_tree_callback_t)(const struct wimlib_dir_entry *dentry, void *user_ctx)
Type of a callback function to wimlib_iterate_dir_tree().
Definition: wimlib.h:1669
wimlib_progress_info::wimlib_progress_info_scan::num_bytes_scanned
uint64_t num_bytes_scanned
The number of bytes of file data detected so far, not counting excluded/unsupported files.
Definition: wimlib.h:922
wimlib_dir_entry::object_id
struct wimlib_object_id object_id
Definition: wimlib.h:1630
wimlib_update_command::rename
struct wimlib_rename_command rename
Definition: wimlib.h:2492
wimlib_delete_command::delete_flags
int delete_flags
Bitwise OR of WIMLIB_DELETE_FLAG_* flags.
Definition: wimlib.h:2467
wimlib_progress_info::wimlib_progress_info_verify_streams
Valid on messages WIMLIB_PROGRESS_MSG_VERIFY_STREAMS.
Definition: wimlib.h:1175
wimlib_dir_entry::full_path
const wimlib_tchar * full_path
Full path to this file within the image.
Definition: wimlib.h:1525
wimlib_iterate_dir_tree
int wimlib_iterate_dir_tree(WIMStruct *wim, int image, const wimlib_tchar *path, int flags, wimlib_iterate_dir_tree_callback_t cb, void *user_ctx)
Iterate through a file or directory tree in a WIM image.
wimlib_progress_info::wimlib_progress_info_extract::extract_flags
uint32_t extract_flags
Extraction flags being used.
Definition: wimlib.h:951
WIMLIB_PROGRESS_MSG_DONE_WITH_FILE
@ WIMLIB_PROGRESS_MSG_DONE_WITH_FILE
wimlib has used a file's data for the last time (including all data streams, if it has multiple).
Definition: wimlib.h:728
WIMLIB_ERR_OPENDIR
@ WIMLIB_ERR_OPENDIR
Definition: wimlib.h:2547
wimlib_progress_info::wimlib_progress_info_extract::total_parts
uint32_t total_parts
Currently only used for WIMLIB_PROGRESS_MSG_EXTRACT_SPWM_PART_BEGIN.
Definition: wimlib.h:992
WIMLIB_PROGRESS_MSG_SCAN_DENTRY
@ WIMLIB_PROGRESS_MSG_SCAN_DENTRY
A directory or file has been scanned.
Definition: wimlib.h:640
WIMLIB_ERR_SPLIT_INVALID
@ WIMLIB_ERR_SPLIT_INVALID
Definition: wimlib.h:2560
wimlib_stream_entry::stream_name
const wimlib_tchar * stream_name
Name of the stream, or NULL if the stream is unnamed.
Definition: wimlib.h:1490
WIMLIB_ERR_INVALID_OVERLAY
@ WIMLIB_ERR_INVALID_OVERLAY
Definition: wimlib.h:2524
WIMLIB_PROGRESS_MSG_TEST_FILE_EXCLUSION
@ WIMLIB_PROGRESS_MSG_TEST_FILE_EXCLUSION
The progress function is being asked whether a file should be excluded from capture or not.
Definition: wimlib.h:755
wimlib_write_to_fd
int wimlib_write_to_fd(WIMStruct *wim, int fd, int image, int write_flags, unsigned num_threads)
Same as wimlib_write(), but write the WIM directly to a file descriptor, which need not be seekable i...
WIMLIB_PROGRESS_STATUS_ABORT
@ WIMLIB_PROGRESS_STATUS_ABORT
The operation should be aborted.
Definition: wimlib.h:794
WIMLIB_ERR_UNKNOWN_PROGRESS_STATUS
@ WIMLIB_ERR_UNKNOWN_PROGRESS_STATUS
Definition: wimlib.h:2573
wimlib_resource_entry::reserved
uint64_t reserved[1]
Definition: wimlib.h:1473
wimlib_wim_info::total_parts
uint16_t total_parts
For split WIMs, the total number of parts in the split WIM; otherwise 1.
Definition: wimlib.h:1337
wimlib_delete_command
Data for a WIMLIB_UPDATE_OP_DELETE operation.
Definition: wimlib.h:2461
wimlib_set_image_descripton
int wimlib_set_image_descripton(WIMStruct *wim, int image, const wimlib_tchar *description)
Change the description of a WIM image.
wimlib_resource_entry::is_compressed
uint32_t is_compressed
1 iff this blob is located in a non-solid compressed WIM resource.
Definition: wimlib.h:1443
WIMLIB_ERR_REPARSE_POINT_FIXUP_FAILED
@ WIMLIB_ERR_REPARSE_POINT_FIXUP_FAILED
Definition: wimlib.h:2552
wimlib_resource_entry::uncompressed_size
uint64_t uncompressed_size
If this blob is not missing, then this is the uncompressed size of this blob in bytes.
Definition: wimlib.h:1417
WIMLIB_ERR_COMPACTION_NOT_POSSIBLE
@ WIMLIB_ERR_COMPACTION_NOT_POSSIBLE
Definition: wimlib.h:2581
WIMLIB_ERR_PATH_DOES_NOT_EXIST
@ WIMLIB_ERR_PATH_DOES_NOT_EXIST
Definition: wimlib.h:2548
wimlib_progress_info::wimlib_progress_info_verify_streams::completed_streams
uint64_t completed_streams
Definition: wimlib.h:1179
WIMLIB_ERR_SET_SECURITY
@ WIMLIB_ERR_SET_SECURITY
Definition: wimlib.h:2557
WIMLIB_ERR_IMAGE_HAS_MULTIPLE_REFERENCES
@ WIMLIB_ERR_IMAGE_HAS_MULTIPLE_REFERENCES
Definition: wimlib.h:2582
WIMLIB_ERR_NOTEMPTY
@ WIMLIB_ERR_NOTEMPTY
Definition: wimlib.h:2540
wimlib_progress_info::wimlib_progress_info_extract
Valid on messages WIMLIB_PROGRESS_MSG_EXTRACT_SPWM_PART_BEGIN, WIMLIB_PROGRESS_MSG_EXTRACT_IMAGE_BEGI...
Definition: wimlib.h:944
wimlib_dir_entry::unix_uid
uint32_t unix_uid
The UNIX user ID of this file.
Definition: wimlib.h:1608
wimlib_progress_info::split
struct wimlib_progress_info::wimlib_progress_info_split split
wimlib_resource_entry::offset
uint64_t offset
If this blob is located in a non-solid WIM resource, then this is the offset of that resource within ...
Definition: wimlib.h:1427
wimlib_dir_entry::security_descriptor
const char * security_descriptor
Pointer to the security descriptor for this file, in Windows SECURITY_DESCRIPTOR_RELATIVE format,...
Definition: wimlib.h:1534
wimlib_progress_info::wimlib_progress_info_scan::cur_path
const wimlib_tchar * cur_path
Path to the file (or directory) that has been scanned, valid on WIMLIB_PROGRESS_MSG_SCAN_DENTRY.
Definition: wimlib.h:868
wimlib_join_with_progress
int wimlib_join_with_progress(const wimlib_tchar *const *swms, unsigned num_swms, const wimlib_tchar *output_path, int swm_open_flags, int wim_write_flags, wimlib_progress_func_t progfunc, void *progctx)
Same as wimlib_join(), but allows specifying a progress function.
WIMLIB_ERR_INVALID_PIPABLE_WIM
@ WIMLIB_ERR_INVALID_PIPABLE_WIM
Definition: wimlib.h:2527
WIMLIB_ERR_IS_DIRECTORY
@ WIMLIB_ERR_IS_DIRECTORY
Definition: wimlib.h:2532
WIMLIB_PROGRESS_MSG_SPLIT_END_PART
@ WIMLIB_PROGRESS_MSG_SPLIT_END_PART
A wimlib_split() operation is in progress, and a split part has been finished.
Definition: wimlib.h:691
wimlib_wim_info::reserved
uint32_t reserved[9]
Definition: wimlib.h:1380
wimlib_progress_info::wimlib_progress_info_verify_image::wimfile
const wimlib_tchar * wimfile
Definition: wimlib.h:1169
wimlib_progress_info::wimlib_progress_info_verify_image
Valid on messages WIMLIB_PROGRESS_MSG_BEGIN_VERIFY_IMAGE and WIMLIB_PROGRESS_MSG_END_VERIFY_IMAGE.
Definition: wimlib.h:1168
WIMLIB_ERR_OPEN
@ WIMLIB_ERR_OPEN
Definition: wimlib.h:2546
wimlib_set_error_file
int wimlib_set_error_file(FILE *fp)
Set the file to which the library will print error and warning messages.
wimlib_rename_command
Data for a WIMLIB_UPDATE_OP_RENAME operation.
Definition: wimlib.h:2471
WIMLIB_ERR_INVALID_LOOKUP_TABLE_ENTRY
@ WIMLIB_ERR_INVALID_LOOKUP_TABLE_ENTRY
Definition: wimlib.h:2522
wimlib_progress_info::wimlib_progress_info_handle_error
Valid on messages WIMLIB_PROGRESS_MSG_HANDLE_ERROR.
Definition: wimlib.h:1210
wimlib_dir_entry::last_write_time_high
int32_t last_write_time_high
High 32 bits of the seconds portion of the last write timestamp, filled in if wimlib_timespec....
Definition: wimlib.h:1638
wimlib_create_new_wim
int wimlib_create_new_wim(enum wimlib_compression_type ctype, WIMStruct **wim_ret)
Create a WIMStruct which initially contains no images and is not backed by an on-disk file.
wimlib_wim_info::write_in_progress
uint32_t write_in_progress
1 iff the "write in progress" flag is set in this WIM's header
Definition: wimlib.h:1369
wimlib_object_id::object_id
uint8_t object_id[WIMLIB_GUID_LEN]
Definition: wimlib.h:1504
wimlib_progress_info::wimlib_progress_info_rename::from
const wimlib_tchar * from
Name of the temporary file that the WIM was written to.
Definition: wimlib.h:1027
WIMLIB_ERR_IMAGE_COUNT
@ WIMLIB_ERR_IMAGE_COUNT
Definition: wimlib.h:2512
wimlib_image_name_in_use
bool wimlib_image_name_in_use(const WIMStruct *wim, const wimlib_tchar *name)
Determine if an image name is already used by some image in the WIM.
wimlib_progress_info::wimlib_progress_info_test_file_exclusion
Valid on messages WIMLIB_PROGRESS_MSG_TEST_FILE_EXCLUSION.
Definition: wimlib.h:1184
WIMLIB_PROGRESS_MSG_EXTRACT_FILE_STRUCTURE
@ WIMLIB_PROGRESS_MSG_EXTRACT_FILE_STRUCTURE
This message may be sent periodically (not for every file) while files and directories are being crea...
Definition: wimlib.h:600
WIMLIB_UPDATE_OP_DELETE
@ WIMLIB_UPDATE_OP_DELETE
Delete a file or directory tree from the image.
Definition: wimlib.h:2437
wimlib_update_command
Specification of an update to perform on a WIM image.
Definition: wimlib.h:2484
wimlib_open_wim_with_progress
int wimlib_open_wim_with_progress(const wimlib_tchar *wim_file, int open_flags, WIMStruct **wim_ret, wimlib_progress_func_t progfunc, void *progctx)
Same as wimlib_open_wim(), but allows specifying a progress function and progress context.
WIMLIB_ERR_NOT_A_WIM_FILE
@ WIMLIB_ERR_NOT_A_WIM_FILE
Definition: wimlib.h:2542
wimlib_progress_info::wimlib_progress_info_extract::guid
uint8_t guid[WIMLIB_GUID_LEN]
Currently only used for WIMLIB_PROGRESS_MSG_EXTRACT_SPWM_PART_BEGIN.
Definition: wimlib.h:996
wimlib_wim_info
General information about a WIM file.
Definition: wimlib.h:1311
wimlib_update_image
int wimlib_update_image(WIMStruct *wim, int image, const struct wimlib_update_command *cmds, size_t num_cmds, int update_flags)
Update a WIM image by adding, deleting, and/or renaming files or directories.
WIMLIB_ERR_INVALID_CAPTURE_CONFIG
@ WIMLIB_ERR_INVALID_CAPTURE_CONFIG
Definition: wimlib.h:2516
WIMLIB_PROGRESS_MSG_EXTRACT_IMAGE_BEGIN
@ WIMLIB_PROGRESS_MSG_EXTRACT_IMAGE_BEGIN
A WIM image is about to be extracted.
Definition: wimlib.h:585
wimlib_progress_info::wimlib_progress_info_verify_image::total_images
uint32_t total_images
Definition: wimlib.h:1170
WIMLIB_ERR_NOT_A_MOUNTPOINT
@ WIMLIB_ERR_NOT_A_MOUNTPOINT
Definition: wimlib.h:2576
wimlib_progress_info::update
struct wimlib_progress_info::wimlib_progress_info_update update
wimlib_wim_info::pipable
uint32_t pipable
1 iff this WIM file is pipable (see WIMLIB_WRITE_FLAG_PIPABLE).
Definition: wimlib.h:1378
wimlib_progress_info::wimlib_progress_info_extract::part_number
uint32_t part_number
Currently only used for WIMLIB_PROGRESS_MSG_EXTRACT_SPWM_PART_BEGIN.
Definition: wimlib.h:988
wimlib_progress_info::wimlib_progress_info_unmount::mounted_wim
const wimlib_tchar * mounted_wim
Path to WIM file being unmounted
Definition: wimlib.h:1130
wimlib_progress_info::wimlib_progress_info_integrity::completed_bytes
uint64_t completed_bytes
The number of bytes that have been checksummed so far.
Definition: wimlib.h:1060
wimlib_progress_info::rename
struct wimlib_progress_info::wimlib_progress_info_rename rename
wimlib_progress_info::wimlib_progress_info_done_with_file
Valid on messages WIMLIB_PROGRESS_MSG_DONE_WITH_FILE.
Definition: wimlib.h:1144
wimlib_extract_image
int wimlib_extract_image(WIMStruct *wim, int image, const wimlib_tchar *target, int extract_flags)
Extract an image, or all images, from a WIMStruct.
WIMLIB_ERR_INVALID_IMAGE
@ WIMLIB_ERR_INVALID_IMAGE
Definition: wimlib.h:2520
wimlib_progress_info::wimlib_progress_info_update::completed_commands
size_t completed_commands
Number of update commands that have been completed so far.
Definition: wimlib.h:1043
wimlib_progress_info::wimlib_progress_info_update
Valid on messages WIMLIB_PROGRESS_MSG_UPDATE_BEGIN_COMMAND and WIMLIB_PROGRESS_MSG_UPDATE_END_COMMAND...
Definition: wimlib.h:1036
wimlib_stream_entry::resource
struct wimlib_resource_entry resource
Info about this stream's data, such as its hash and size if known.
Definition: wimlib.h:1493
wimlib_delete_image
int wimlib_delete_image(WIMStruct *wim, int image)
Delete an image, or all images, from a WIMStruct.
wimlib_progress_info::wimlib_progress_info_integrity::chunk_size
uint32_t chunk_size
The size of each individually checksummed "chunk" in the integrity-checked region.
Definition: wimlib.h:1072
WIMLIB_ERR_STAT
@ WIMLIB_ERR_STAT
Definition: wimlib.h:2561
wimlib_progress_info::wimlib_progress_info_scan::num_dirs_scanned
uint64_t num_dirs_scanned
The number of directories scanned so far, not counting excluded/unsupported files.
Definition: wimlib.h:914
WIMLIB_PROGRESS_MSG_BEGIN_VERIFY_IMAGE
@ WIMLIB_PROGRESS_MSG_BEGIN_VERIFY_IMAGE
wimlib_verify_wim() is starting to verify the metadata for an image.
Definition: wimlib.h:732
wimlib_add_command
Data for a WIMLIB_UPDATE_OP_ADD operation.
Definition: wimlib.h:2444
wimlib_rename_command::rename_flags
int rename_flags
Reserved; set to 0.
Definition: wimlib.h:2480
wimlib_resource_entry::raw_resource_uncompressed_size
uint64_t raw_resource_uncompressed_size
If this blob is located in a solid WIM resource, then this is the uncompressed size of that solid res...
Definition: wimlib.h:1471
wimlib_get_version
uint32_t wimlib_get_version(void)
Return the version of wimlib as a 32-bit number whose top 12 bits contain the major version,...
wimlib_object_id::birth_volume_id
uint8_t birth_volume_id[WIMLIB_GUID_LEN]
Definition: wimlib.h:1505
WIMLIB_ERR_NOMEM
@ WIMLIB_ERR_NOMEM
Definition: wimlib.h:2538
wimlib_progress_info::wimlib_progress_info_handle_error::path
const wimlib_tchar * path
Path to the file for which the error occurred, or NULL if not relevant.
Definition: wimlib.h:1214
wimlib_add_image
int wimlib_add_image(WIMStruct *wim, const wimlib_tchar *source, const wimlib_tchar *name, const wimlib_tchar *config_file, int add_flags)
Add an image to a WIMStruct from an on-disk directory tree or NTFS volume.
wimlib_progress_info::handle_error
struct wimlib_progress_info::wimlib_progress_info_handle_error handle_error
WIMLIB_ERR_XML
@ WIMLIB_ERR_XML
Definition: wimlib.h:2569
wimlib_iterate_lookup_table_callback_t
int(* wimlib_iterate_lookup_table_callback_t)(const struct wimlib_resource_entry *resource, void *user_ctx)
Type of a callback function to wimlib_iterate_lookup_table().
Definition: wimlib.h:1676
wimlib_wim_info::opened_from_file
uint32_t opened_from_file
1 iff this info struct is for a WIMStruct that has a backing file.
Definition: wimlib.h:1352
wimlib_wim_info::is_readonly
uint32_t is_readonly
1 iff this WIM file is considered readonly for any reason (e.g.
Definition: wimlib.h:1357
wimlib_wim_info::has_rpfix
uint32_t has_rpfix
1 iff the "reparse point fix" flag is set in this WIM's header
Definition: wimlib.h:1360
wimlib_progress_info
A pointer to this union is passed to the user-supplied wimlib_progress_func_t progress function.
Definition: wimlib.h:803
wimlib_progress_info::wimlib_progress_info_integrity::filename
const wimlib_tchar * filename
For WIMLIB_PROGRESS_MSG_VERIFY_INTEGRITY messages, this is the path to the WIM file being checked.
Definition: wimlib.h:1076
wimlib_progress_info::wimlib_progress_info_write_streams::compression_type
int32_t compression_type
The compression type being used, as one of the wimlib_compression_type constants.
Definition: wimlib.h:842
wimlib_progress_info::wimlib_progress_info_extract::target
const wimlib_tchar * target
Path to the directory or NTFS volume to which the files are being extracted.
Definition: wimlib.h:964
wimlib_export_image
int wimlib_export_image(WIMStruct *src_wim, int src_image, WIMStruct *dest_wim, const wimlib_tchar *dest_name, const wimlib_tchar *dest_description, int export_flags)
Export an image, or all images, from a WIMStruct into another WIMStruct.
WIMLIB_PROGRESS_MSG_EXTRACT_IMAGE_END
@ WIMLIB_PROGRESS_MSG_EXTRACT_IMAGE_END
The image has been successfully extracted.
Definition: wimlib.h:622
wimlib_progress_info::wimlib_progress_info_write_streams
Valid on the message WIMLIB_PROGRESS_MSG_WRITE_STREAMS.
Definition: wimlib.h:808
wimlib_set_wim_info
int wimlib_set_wim_info(WIMStruct *wim, const struct wimlib_wim_info *info, int which)
Set basic information about a WIM.
wimlib_add_image_multisource
int wimlib_add_image_multisource(WIMStruct *wim, const struct wimlib_capture_source *sources, size_t num_sources, const wimlib_tchar *name, const wimlib_tchar *config_file, int add_flags)
This function is equivalent to wimlib_add_image() except it allows for multiple sources to be combine...
wimlib_stream_entry
Information about a stream of a particular file in the WIM.
Definition: wimlib.h:1487
wimlib_mount_image
int wimlib_mount_image(WIMStruct *wim, int image, const wimlib_tchar *dir, int mount_flags, const wimlib_tchar *staging_dir)
Mount an image from a WIM file on a directory read-only or read-write.
wimlib_progress_info::wimlib_progress_info_extract::image
uint32_t image
The 1-based index of the image from which files are being extracted.
Definition: wimlib.h:948
wimlib_delete_command::wim_path
wimlib_tchar * wim_path
The path to the file or directory within the image to delete.
Definition: wimlib.h:2464
wimlib_progress_info::wimlib_progress_info_scan::symlink_target
const wimlib_tchar * symlink_target
For WIMLIB_PROGRESS_MSG_SCAN_DENTRY and a status of WIMLIB_SCAN_DENTRY_FIXED_SYMLINK or WIMLIB_SCAN_D...
Definition: wimlib.h:909
wimlib_progress_info::verify_image
struct wimlib_progress_info::wimlib_progress_info_verify_image verify_image
WIMLIB_ERR_SNAPSHOT_FAILURE
@ WIMLIB_ERR_SNAPSHOT_FAILURE
Definition: wimlib.h:2585
wimlib_resource_entry::compressed_size
uint64_t compressed_size
If this blob is located in a non-solid WIM resource, then this is the compressed size of that resourc...
Definition: wimlib.h:1421