00001 00008 #ifndef __UTL_FILE_H 00009 #define __UTL_FILE_H 00010 00011 #ifdef __cplusplus 00012 extern "C" { 00013 #endif 00014 00021 unsigned long utlFileSize(const char* filename); 00022 00028 char* utlFileLoadText(const char* filename); 00029 00033 int utlFileSaveText(const char* filename, const char* text); 00034 00041 char* utlFileGetPath(const char *filename); 00042 00046 char* utlFileGetTitle(const char *filename); 00047 00048 char* utlFileGetFilenameMultiple(const char* dir, const char* filetitle, int *offset); 00049 00050 char* utlFileGetPathMultiple(const char* filename, int *offset); 00051 00054 char* utlFileGetExt(const char *filename); 00055 00062 char* utlFileGetCurrentPath(void); 00063 00067 int utlFileSetCurrentPath(const char* dir_name); 00068 00069 #ifdef __cplusplus 00070 } 00071 #endif 00072 00073 #endif