Advertisement
PierrotLL

FindFiles.h

Nov 12th, 2013
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.56 KB | None | 0 0
  1. #ifndef _FINDFILES
  2. #define _FINDFILES
  3.  
  4. #include <fxlib.h>
  5.  
  6. typedef struct {
  7.     char* name;
  8.     char* path;
  9.     int size;
  10. } File;
  11.  
  12. int lenght(FONTCHARACTER* str);
  13. FONTCHARACTER* str2FONTCHARACTER(char* source, FONTCHARACTER* dest);
  14. char* FONTCHARACTER2str(FONTCHARACTER* source, char* dest);
  15. char* filename(char* completePath);
  16.  
  17. int fileListLenght(File* list);
  18. File* joinFilelists(File* list1, File* list2, int deleteSources);
  19.  
  20. int countFiles(char* mask);
  21. File* findFiles(char* mask);
  22. void freeFilelist(File* list);
  23.  
  24. int openFile(char* path, char* mode);
  25.  
  26. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement