fileinfo.h 240 B

123456789
  1. struct fileInfo
  2. {
  3. char *fullname, *name, *ext;
  4. size_t fullnameLength, nameLength, basenameLength;
  5. char *_base; // this is just for slicing
  6. };
  7. struct fileInfo* newFileInfo(const char *filePath);
  8. void freeFileInfo(struct fileInfo *info);