Ignore:
Timestamp:
Nov 6, 2016, 5:46:43 PM (9 years ago)
Author:
bird
Message:

lib/nt: Deal better with NTFS mount points.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/nt/ntstat.h

    r2985 r3007  
    5050{
    5151    unsigned __int16    st_mode;
    52     unsigned __int16    st_dirsymlink;
     52    unsigned __int8     st_isdirsymlink; /**< Set if directory symlink. */
     53    unsigned __int8     st_ismountpoint; /**< Set if mount point; 1 if not followed, 2 if followed (lstat & readdir only). */
    5354    unsigned __int16    st_padding0[2];
    5455    __int64             st_size;
     
    8788#ifdef ___nt_ntstuff_h
    8889int  birdStatHandle(HANDLE hFile, BirdStat_T *pStat, const char *pszPath);
    89 void birdStatFillFromFileIdFullDirInfo(BirdStat_T *pStat, MY_FILE_ID_FULL_DIR_INFORMATION const *pBuf, const char *pszPath);
    90 void birdStatFillFromFileIdBothDirInfo(BirdStat_T *pStat, MY_FILE_ID_BOTH_DIR_INFORMATION const *pBuf, const char *pszPath);
    91 void birdStatFillFromFileBothDirInfo(BirdStat_T *pStat, MY_FILE_BOTH_DIR_INFORMATION const *pBuf, const char *pszPath);
     90void birdStatFillFromFileIdFullDirInfo(BirdStat_T *pStat, MY_FILE_ID_FULL_DIR_INFORMATION const *pBuf);
     91void birdStatFillFromFileIdBothDirInfo(BirdStat_T *pStat, MY_FILE_ID_BOTH_DIR_INFORMATION const *pBuf);
     92void birdStatFillFromFileBothDirInfo(BirdStat_T *pStat, MY_FILE_BOTH_DIR_INFORMATION const *pBuf);
    9293MY_NTSTATUS birdQueryVolumeDeviceNumber(HANDLE hFile, MY_FILE_FS_VOLUME_INFORMATION *pVolInfo, size_t cbVolInfo,
    9394                                        unsigned __int64 *puDevNo);
Note: See TracChangeset for help on using the changeset viewer.