Annotation of hatari/src/includes/str.h, revision 1.1.1.6

1.1       root        1: /*
                      2:   Hatari - str.h
                      3: 
1.1.1.5   root        4:   This file is distributed under the GNU General Public License, version 2
                      5:   or at your option any later version. Read the file gpl.txt for details.
1.1       root        6: */
                      7: 
                      8: #ifndef HATARI_STR_H
                      9: #define HATARI_STR_H
                     10: 
                     11: #include <string.h>
                     12: #include <config.h>
                     13: #if HAVE_STRINGS_H
                     14: # include <strings.h>
                     15: #endif
                     16: 
1.1.1.6 ! root       17: /* Invalid characters in paths & filenames are replaced by this,
        !            18:  * a valid, but uncommon GEMDOS file name character,
        !            19:  * which hopefully shouldn't cause problems in:
        !            20:  * - TOS *.INF files used for autostarting
        !            21:  * - GEM file selectors (TOS or replacement ones)
        !            22:  * - path/file handling code of common programming languages
1.1.1.4   root       23:  */
1.1.1.6 ! root       24: #define INVALID_CHAR '+'
1.1.1.4   root       25: 
1.1.1.2   root       26: extern char *Str_Trim(char *buffer);
                     27: extern char *Str_ToUpper(char *pString);
                     28: extern char *Str_ToLower(char *pString);
                     29: extern char *Str_Trunc(char *str);
                     30: extern bool Str_IsHex(const char *str);
1.1.1.4   root       31: extern void Str_Filename2TOSname(const char *src, char *dst);
1.1.1.6 ! root       32: extern void Str_Dump_Hex_Ascii ( char *p , int Len , int Width , const char *Suffix , FILE *pFile );
1.1       root       33: 
                     34: #endif  /* HATARI_STR_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.