mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-05-25 12:34:32 -04:00
1.0.60 release
This commit is contained in:
parent
69b6bb8fca
commit
b0568922d2
87 changed files with 9224 additions and 97 deletions
20
vtoycli/fat_io_lib/include/fat_string.h
Normal file
20
vtoycli/fat_io_lib/include/fat_string.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef __FILESTRING_H__
|
||||
#define __FILESTRING_H__
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Prototypes
|
||||
//-----------------------------------------------------------------------------
|
||||
int fatfs_total_path_levels(char *path);
|
||||
int fatfs_get_substring(char *Path, int levelreq, char *output, int max_len);
|
||||
int fatfs_split_path(char *FullPath, char *Path, int max_path, char *FileName, int max_filename);
|
||||
int fatfs_compare_names(char* strA, char* strB);
|
||||
int fatfs_string_ends_with_slash(char *path);
|
||||
int fatfs_get_sfn_display_name(char* out, char* in);
|
||||
int fatfs_get_extension(char* filename, char* out, int maxlen);
|
||||
int fatfs_create_path_string(char* path, char *filename, char* out, int maxlen);
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL 0
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue