2 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
3 SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
4 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
5 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
6 IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
7 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
8 FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
9 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
10 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
11 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
17 #if defined(macintosh)
18 extern int stricmp(const char *str1, const char *str2);
19 extern int strnicmp(const char *str1, const char *str2, int n);
20 #elif !defined(_WIN32)
22 # define stricmp(a,b) strcasecmp(a,b)
23 # define strnicmp(a,b,c) strncasecmp(a,b,c)
27 # define stricmp _stricmp
28 # define strnicmp _strnicmp
29 # define strlwr _strlwr
30 # define strrev _strrev
35 void strupr( char *s1 );
36 void strlwr( char *s1 );
39 void strrev( char *s1 );
42 // remove extension from filename, doesn't work with paths.
43 void removeext(const char *filename, char *out);
45 //give a filename a new extension, doesn't work with paths.
46 extern void change_filename_extension( char *dest, const char *src, char *new_ext );
48 #if !defined(__MSDOS__) && !(defined(_WIN32) && !defined(_WIN32_WCE))
49 void _splitpath(char *name, char *drive, char *path, char *base, char *ext);
52 #endif /* _STRUTILS_H */