--- hatari/src/includes/str.h 2019/04/09 08:48:41 1.1.1.3 +++ hatari/src/includes/str.h 2019/04/09 08:49:32 1.1.1.4 @@ -14,10 +14,16 @@ # include #endif +/* Invalid characters in paths & filenames are replaced by this + * (valid but very uncommon GEMDOS file name character) + */ +#define INVALID_CHAR '@' + extern char *Str_Trim(char *buffer); extern char *Str_ToUpper(char *pString); extern char *Str_ToLower(char *pString); extern char *Str_Trunc(char *str); extern bool Str_IsHex(const char *str); +extern void Str_Filename2TOSname(const char *src, char *dst); #endif /* HATARI_STR_H */