]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - LinuxGUI/Ventoy2Disk/Lib/fat_io_lib/fat_string.h
update
[Ventoy.git] / LinuxGUI / Ventoy2Disk / Lib / fat_io_lib / fat_string.h
1 #ifndef __FILESTRING_H__
2 #define __FILESTRING_H__
3
4 //-----------------------------------------------------------------------------
5 // Prototypes
6 //-----------------------------------------------------------------------------
7 int fatfs_total_path_levels(char *path);
8 int fatfs_get_substring(char *Path, int levelreq, char *output, int max_len);
9 int fatfs_split_path(char *FullPath, char *Path, int max_path, char *FileName, int max_filename);
10 int fatfs_compare_names(char* strA, char* strB);
11 int fatfs_string_ends_with_slash(char *path);
12 int fatfs_get_sfn_display_name(char* out, char* in);
13 int fatfs_get_extension(char* filename, char* out, int maxlen);
14 int fatfs_create_path_string(char* path, char *filename, char* out, int maxlen);
15
16 #ifndef NULL
17 #define NULL 0
18 #endif
19
20 #endif