]>
glassweightruler.freedombox.rocks Git - Ventoy.git/blob - LinuxGUI/Ventoy2Disk/Lib/fat_io_lib/release/fat_string.h
1 #ifndef __FILESTRING_H__
2 #define __FILESTRING_H__
4 //-----------------------------------------------------------------------------
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
);