File nut/fs/phatutil.c


Included Files


Global Function GetDosTimeStamp()

void GetDosTimeStamp ( u_short* dostim, u_short* dosdat )
Prototyped in: nut/include/fs/phatutil.h
Calls: localtime(), time()
Called by: PhatDirEntryCreate() nut/fs/phatdir.c
  PhatFileWrite() nut/fs/phatfs.c

Global Function GetParentPath()

char* GetParentPath ( const char* path, const char** comp )
Prototyped in: nut/include/fs/phatutil.h
Calls: malloc(), memcpy(), strlen(), strrchr()
Called by: PhatDirOpenParent() nut/fs/phatdir.c

Global Function IsFixedRootDir()

int IsFixedRootDir ( NUTFILE* ndp )
Prototyped in: nut/include/fs/phatutil.h
Called by: PhatDirEntryAlloc() nut/fs/phatdir.c
  PhatFilePosSet() nut/fs/phatutil.c
  PhatFileRead() nut/fs/phatfs.c
  PhatFileWrite() nut/fs/phatfs.c

Global Function MakePhatName()

int MakePhatName ( const char* src, u_char* dst )
Prototyped in: nut/include/fs/phatutil.h
Calls: memset(), strchr(), toupper()
Called by: PhatDirEntryAlloc() nut/fs/phatdir.c

Global Function MakeVisibleName()

void MakeVisibleName ( const u_char* src, char* dst )
Prototyped in: nut/include/fs/phatutil.h
Called by: PhatDirEntryAlloc() nut/fs/phatdir.c
  PhatDirEntryRead() nut/fs/phatdir.c

Global Function PhatFilePosRewind()

void PhatFilePosRewind ( PHATFILE* fcb )
Prototyped in: nut/include/fs/phatutil.h
Called by: GenShortName() nut/fs/phatdir.c
  PhatDirCreate() nut/fs/phatdir.c
  PhatDirEntryAlloc() nut/fs/phatdir.c
  PhatDirEntryFind() nut/fs/phatdir.c
  PhatDirOpen() nut/fs/phatdir.c
  PhatFilePosSet() nut/fs/phatutil.c

Global Function PhatFilePosSet()

int PhatFilePosSet ( NUTFILE* nfp, u_long pos )
Prototyped in: nut/include/fs/phatutil.h
Calls: IsFixedRootDir() nut/fs/phatutil.c
  Phat12GetClusterLink() nut/fs/phat12.c
  Phat16GetClusterLink() nut/fs/phat16.c
  Phat32GetClusterLink() nut/fs/phat32.c
  PhatFilePosRewind() nut/fs/phatutil.c
Called by: PhatDirEntryAlloc() nut/fs/phatdir.c
  PhatDirEntryRelease() nut/fs/phatdir.c
  PhatFileOpen() nut/fs/phatfs.c
  PhatFileSeek() nut/fs/phatfs.c