VirtualBox

Changeset 69029 in vbox for trunk/include/iprt/formats


Ignore:
Timestamp:
Oct 10, 2017 8:33:05 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118304
Message:

iprt: udf updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/formats/udf.h

    r69027 r69029  
    231231typedef struct UDFTIMESTAMP
    232232{
    233     /** 0x00: Type and timezone. */
    234     uint16_t        uTypeAndZone;
     233#ifdef RT_BIG_ENDIAN
     234    /** 0x00: Type (UDFTIMESTAMP_T_XXX). */
     235    uint16_t        fType : 4;
     236    /** 0x00: Time zone offset in minutes.
     237     * For EST this will be -300, whereas for CET it will be 60. */
     238    int16_t         offUtcInMin : 12;
     239#else
     240    /** 0x00: Time zone offset in minutes.
     241     * For EST this will be -300, whereas for CET it will be 60. */
     242    int16_t         offUtcInMin : 12;
     243    /** 0x00: Type (UDFTIMESTAMP_T_XXX). */
     244    uint16_t        fType : 4;
     245#endif
    235246    /** 0x02: The year. */
    236247    int16_t         iYear;
     
    257268/** Pointer to a const UDF timestamp. */
    258269typedef UDFTIMESTAMP const *PCUDFTIMESTAMP;
     270
     271/** @name UDFTIMESTAMP_T_XXX
     272 * @{ */
     273/** Local time. */
     274#define UDFTIMESTAMP_T_LOCAL                1
     275/** @} */
     276
     277/** No time zone specified. */
     278#define UDFTIMESTAMP_NO_TIME_ZONE           (-2047)
    259279
    260280
     
    12551275    /** 0x32: Record format (UDF_REC_FMT_XXX).   */
    12561276    uint8_t         uRecordFormat;
    1257     /** 0x33: Record format (UDF_REC_FMT_XXX).   */
     1277    /** 0x33: Record format (UDF_REC_ATTR_XXX).   */
    12581278    uint8_t         fRecordDisplayAttribs;
    12591279    /** 0x34: Record length (in bytes).
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette