X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib.h;h=702c3a63e69ed01c9147c3b6bdef9eecd7aa2c49;hp=110b0fa5ad8d8c3fb7b4849cf2aecb2c03ae8080;hb=3a900017c59c26af398f9cf375719dbcda378fb8;hpb=941a5957f1fb7dd990d04dee47c3a86bc1572d8f diff --git a/include/wimlib.h b/include/wimlib.h index 110b0fa5..702c3a63 100644 --- a/include/wimlib.h +++ b/include/wimlib.h @@ -33,7 +33,7 @@ * * @section sec_intro Introduction * - * This is the documentation for the library interface of wimlib 1.6.3, a C + * This is the documentation for the library interface of wimlib 1.7.0, a C * library for creating, modifying, extracting, and mounting files in the * Windows Imaging Format. This documentation is intended for developers only. * If you have installed wimlib and want to know how to use the @b wimlib-imagex @@ -301,9 +301,9 @@ * such as wimlib_join(), also take the progress function directly using an * extended version of the function, such as wimlib_join_with_progress(). * - * In wimlib v1.6.3 and later, progress functions are no longer just + * In wimlib v1.7.0 and later, progress functions are no longer just * unidirectional. You can now return ::WIMLIB_PROGRESS_STATUS_ABORT to cause - * the current operation to be aborted. wimlib v1.6.3 also added the third + * the current operation to be aborted. wimlib v1.7.0 also added the third * argument to ::wimlib_progress_func_t, which is a user-supplied context. */ @@ -353,10 +353,10 @@ #define WIMLIB_MAJOR_VERSION 1 /** Minor version of the library (for example, the 2 in 1.2.5). */ -#define WIMLIB_MINOR_VERSION 6 +#define WIMLIB_MINOR_VERSION 7 /** Patch version of the library (for example, the 5 in 1.2.5). */ -#define WIMLIB_PATCH_VERSION 3 +#define WIMLIB_PATCH_VERSION 0 #ifdef __cplusplus extern "C" { @@ -932,7 +932,7 @@ union wimlib_progress_info { /** Name of the split WIM part that is about to be started * (::WIMLIB_PROGRESS_MSG_SPLIT_BEGIN_PART) or has just been * finished (::WIMLIB_PROGRESS_MSG_SPLIT_END_PART). - * As of wimlib v1.6.3, the library user may change this when + * As of wimlib v1.7.0, the library user may change this when * receiving ::WIMLIB_PROGRESS_MSG_SPLIT_BEGIN_PART in order to * cause the next split WIM part to be written to a different * location. */ @@ -1256,7 +1256,7 @@ struct wimlib_dir_entry { uint32_t unix_uid; uint32_t unix_gid; uint32_t unix_mode; - uint32_t unix_reserved; + uint32_t unix_rdev; uint64_t reserved[14]; @@ -1321,10 +1321,9 @@ typedef int (*wimlib_iterate_lookup_table_callback_t)(const struct wimlib_resour * wimlib_update_image(). */ #define WIMLIB_ADD_FLAG_BOOT 0x00000008 -/** Store the UNIX owner, group, and mode. This is done by adding a special - * alternate data stream to each regular file, symbolic link, and directory to - * contain this information. Please note that this flag is for convenience - * only; Microsoft's implementation will not understand this special +/** UNIX-like systems only: Store the UNIX owner, group, mode, and device ID + * (major and minor number) of each file. See the documentation for the + * --unix-data option to wimlib-imagex capture for more * information. */ #define WIMLIB_ADD_FLAG_UNIX_DATA 0x00000010 @@ -2068,6 +2067,7 @@ enum wimlib_error_code { WIMLIB_ERR_WIMBOOT, WIMLIB_ERR_ABORTED_BY_PROGRESS, WIMLIB_ERR_UNKNOWN_PROGRESS_STATUS, + WIMLIB_ERR_MKNOD, };