UbixOS V2  2.0
fat_string.h
Go to the documentation of this file.
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
fatfs_string_ends_with_slash
int fatfs_string_ends_with_slash(char *path)
Definition: fat_string.c:323
fatfs_get_extension
int fatfs_get_extension(char *filename, char *out, int maxlen)
Definition: fat_string.c:370
fatfs_total_path_levels
int fatfs_total_path_levels(char *path)
Definition: fat_string.c:44
fatfs_get_substring
int fatfs_get_substring(char *Path, int levelreq, char *output, int max_len)
Definition: fat_string.c:92
fatfs_get_sfn_display_name
int fatfs_get_sfn_display_name(char *out, char *in)
Definition: fat_string.c:345
fatfs_create_path_string
int fatfs_create_path_string(char *path, char *filename, char *out, int maxlen)
Definition: fat_string.c:403
fatfs_split_path
int fatfs_split_path(char *FullPath, char *Path, int max_path, char *FileName, int max_filename)
Definition: fat_string.c:151
fatfs_compare_names
int fatfs_compare_names(char *strA, char *strB)
Definition: fat_string.c:260