--- hatari/src/includes/str.h 2019/04/01 07:14:48 1.1 +++ hatari/src/includes/str.h 2019/04/09 08:53:13 1.1.1.5 @@ -1,8 +1,8 @@ /* Hatari - str.h - This file is distributed under the GNU Public License, version 2 or at - your option any later version. Read the file gpl.txt for details. + This file is distributed under the GNU General Public License, version 2 + or at your option any later version. Read the file gpl.txt for details. */ #ifndef HATARI_STR_H @@ -14,10 +14,16 @@ # include #endif -char *Str_Trim(char *buffer); -char *Str_ToUpper(char *pString); -char *Str_ToLower(char *pString); -char *Str_Trunc(char *str); -bool Str_IsHex(const char *str); +/* 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 */