File nut/fs/phatutil.c


Included Files


Global Function GetDosTimeStamp()

void GetDosTimeStamp ( uint16_t* dostim, uint16_t* dosdat )
Prototyped in: nut/include/fs/phatutil.h
Calls: localtime() nut/crt/localtime.c
  time() nut/crt/time.c
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() nut/crt/malloc.c
  memcpy() nut/c/string/memcpy.c
  strlen() nut/c/string/strlen.c
  strrchr() nut/c/string/strrchr.c
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, uint8_t* dst )
Prototyped in: nut/include/fs/phatutil.h
Calls: memset() nut/c/string/memset.c
  strchr() nut/c/string/strchr.c
  toupper()
Called by: PhatDirEntryAlloc() nut/fs/phatdir.c

Global Function MakeVisibleName()

void MakeVisibleName ( const uint8_t* 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, uint32_t 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