|
|
1.1 root 1: /*
2: Hatari - str.h
3:
4: This file is distributed under the GNU Public License, version 2 or at
5: your option any later version. Read the file gpl.txt for details.
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.2 ! root 17: extern char *Str_Trim(char *buffer);
! 18: extern char *Str_ToUpper(char *pString);
! 19: extern char *Str_ToLower(char *pString);
! 20: extern char *Str_Trunc(char *str);
! 21: extern bool Str_IsHex(const char *str);
! 22: extern bool Str_GetNumber(const char *value, Uint32 *number);
! 23: extern int Str_ParseRange(char *str, Uint32 *lower, Uint32 *upper);
1.1 root 24:
25: #endif /* HATARI_STR_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.