Changeset 69035 in vbox for trunk/include/iprt/formats
- Timestamp:
- Oct 11, 2017 9:38:54 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 118314
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/formats/udf.h
r69029 r69035 1033 1033 1034 1034 /** Get the pointer to the name field. */ 1035 #define UDFFILEIDDESC_2_NAME(a_pFid) (( char*)(&(a_pFid)->abImplementationUse[(a_pFid)->cbImplementationUse]))1035 #define UDFFILEIDDESC_2_NAME(a_pFid) ((uint8_t const *)(&(a_pFid)->abImplementationUse[(a_pFid)->cbImplementationUse])) 1036 1036 /** Calculates the total size the size of a record. */ 1037 1037 #define UDFFILEIDDESC_CALC_SIZE_EX(cbImplementationUse, cbName) \ 1038 RT_ALIGN_ Z(RT_UOFFSETOF(UDFFILEIDDESC, abImplementationUse) + cbImplementationUse + cbName, 4)1038 RT_ALIGN_32((uint32_t)RT_UOFFSETOF(UDFFILEIDDESC, abImplementationUse) + cbImplementationUse + cbName, 4) 1039 1039 /** Gets the actual size of a record. */ 1040 #define UDFFILEIDDESC_GET_SIZE(a_pFid) UDFFILEIDDESC_CALC_SIZE_EX((a_pFid)->cbImplementationUse +(a_pFid)->cbName)1040 #define UDFFILEIDDESC_GET_SIZE(a_pFid) UDFFILEIDDESC_CALC_SIZE_EX((a_pFid)->cbImplementationUse, (a_pFid)->cbName) 1041 1041 1042 1042 /** @name UDF_FILE_FLAGS_XXX … … 1048 1048 /** Deleted - Indicate that the file has been deleted. Assoicated descriptors may still be valid, though. */ 1049 1049 #define UDF_FILE_FLAGS_DELETED UINT8_C(0x04) 1050 /** Parent - Indicate the ICB field refers to the parent directory (or ma bye1050 /** Parent - Indicate the ICB field refers to the parent directory (or maybe 1051 1051 * a file in case of streaming directory). */ 1052 1052 #define UDF_FILE_FLAGS_PARENT UINT8_C(0x08)
Note:
See TracChangeset
for help on using the changeset viewer.