userlibandfileserver/fileserver/sfat/fat_dir_entry.h
changeset 15 4122176ea935
parent 0 a41df078684a
equal deleted inserted replaced
0:a41df078684a 15:4122176ea935
    19 /**
    19 /**
    20  @file
    20  @file
    21  @internalTechnology
    21  @internalTechnology
    22 */
    22 */
    23 
    23 
       
    24 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
    25 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
    26 //!!
       
    27 //!! WARNING!! DO NOT edit this file !! '\sfat' component is obsolete and is not being used. '\sfat32'replaces it
       
    28 //!!
       
    29 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
    30 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
    31 
       
    32 
    24 #if !defined(FAT_DIR_ENTRY_H)
    33 #if !defined(FAT_DIR_ENTRY_H)
    25 #define FAT_DIR_ENTRY_H
    34 #define FAT_DIR_ENTRY_H
    26 
    35 
    27 
    36 
    28 //-------------------------------------------------------------------------------------------------------------------
    37 //-------------------------------------------------------------------------------------------------------------------
    33 const TUint8    KDotEntryByte           = 0x2e;  ///< Dot value for self and parent pointer directory entries
    42 const TUint8    KDotEntryByte           = 0x2e;  ///< Dot value for self and parent pointer directory entries
    34 const TUint8    KBlankSpace             = 0x20;  ///< Blank space in a directory entry
    43 const TUint8    KBlankSpace             = 0x20;  ///< Blank space in a directory entry
    35 const TInt      KSizeOfFatDirEntryLog2  = 5;     ///< Log2 of size in bytes of a Fat directry entry 
    44 const TInt      KSizeOfFatDirEntryLog2  = 5;     ///< Log2 of size in bytes of a Fat directry entry 
    36 const TUint     KSizeOfFatDirEntry      = 1 << KSizeOfFatDirEntryLog2;    ///< Size in bytes of a Fat directry entry 
    45 const TUint     KSizeOfFatDirEntry      = 1 << KSizeOfFatDirEntryLog2;    ///< Size in bytes of a Fat directry entry 
    37 
    46 
    38 const TUint16 KReservedIdOldEntry = 1;	///< Rugged FAT "OldEntry" id
    47 const TUint16 KReservedIdOldEntry = 1;  ///< Rugged FAT "OldEntry" id
    39 const TUint16 KReservedIdNewEntry = 0;  ///< Rugged FAT "ReservedIdNewEntry" id
    48 const TUint16 KReservedIdNewEntry = 0;  ///< Rugged FAT "ReservedIdNewEntry" id
    40 
    49 
    41 
    50 
    42 typedef TBuf8<KFatDirNameSize> TShortName;  ///< Buffer type fot short names in dos entries
    51 typedef TBuf8<KFatDirNameSize> TShortName;  ///< Buffer type fot short names in dos entries
    43 
    52