|
Line
Link Here
|
| 0 |
-- libjsw-1.5.5/include/string.h |
0 |
++ libjsw-1.5.5/include/string.h |
|
Lines 43-49
Link Here
|
| 43 |
#ifdef __MSW__ |
43 |
#ifdef __MSW__ |
| 44 |
extern int strcasecmp(const char *s1, const char *s2); |
44 |
extern int strcasecmp(const char *s1, const char *s2); |
| 45 |
#endif |
45 |
#endif |
| 46 |
extern char *strcasestr(const char *haystack, const char *needle); |
46 |
extern char *strcasestr(const char *haystack, const char *needle) throw(); |
| 47 |
extern int strpfx(const char *s, const char *pfx); |
47 |
extern int strpfx(const char *s, const char *pfx); |
| 48 |
extern int strcasepfx(const char *s, const char *pfx); |
48 |
extern int strcasepfx(const char *s, const char *pfx); |
| 49 |
|
49 |
|
| 50 |
-- libjsw-1.5.5/jscalibrator/string.cpp |
50 |
++ libjsw-1.5.5/jscalibrator/string.cpp |
|
Lines 28-34
Link Here
|
| 28 |
#ifdef __MSW__ |
28 |
#ifdef __MSW__ |
| 29 |
int strcasecmp(const char *s1, const char *s2); |
29 |
int strcasecmp(const char *s1, const char *s2); |
| 30 |
#endif |
30 |
#endif |
| 31 |
char *strcasestr(const char *haystack, const char *needle); |
31 |
char *strcasestr(const char *haystack, const char *needle) throw(); |
| 32 |
int strpfx(const char *s, const char *pfx); |
32 |
int strpfx(const char *s, const char *pfx); |
| 33 |
int strcasepfx(const char *s, const char *pfx); |
33 |
int strcasepfx(const char *s, const char *pfx); |
| 34 |
|
34 |
|
|
Lines 217-223
Link Here
|
| 217 |
* Case insensitive version of strstr(). Returns the pointer to |
217 |
* Case insensitive version of strstr(). Returns the pointer to |
| 218 |
* needle in haystack if found or NULL on no match. |
218 |
* needle in haystack if found or NULL on no match. |
| 219 |
*/ |
219 |
*/ |
| 220 |
char *strcasestr(const char *haystack, const char *needle) |
220 |
char *strcasestr(const char *haystack, const char *needle) throw() |
| 221 |
{ |
221 |
{ |
| 222 |
const char *strptr1, *strptr2, *strptr3; |
222 |
const char *strptr1, *strptr2, *strptr3; |
| 223 |
|
223 |
|
| 224 |
-- libjsw-1.5.5/libjsw/string.cpp |
224 |
++ libjsw-1.5.5/libjsw/string.cpp |
|
Lines 28-34
Link Here
|
| 28 |
#ifdef __MSW__ |
28 |
#ifdef __MSW__ |
| 29 |
int strcasecmp(const char *s1, const char *s2); |
29 |
int strcasecmp(const char *s1, const char *s2); |
| 30 |
#endif |
30 |
#endif |
| 31 |
char *strcasestr(const char *haystack, const char *needle); |
31 |
char *strcasestr(const char *haystack, const char *needle) throw(); |
| 32 |
int strpfx(const char *s, const char *pfx); |
32 |
int strpfx(const char *s, const char *pfx); |
| 33 |
int strcasepfx(const char *s, const char *pfx); |
33 |
int strcasepfx(const char *s, const char *pfx); |
| 34 |
|
34 |
|
|
Lines 217-223
Link Here
|
| 217 |
* Case insensitive version of strstr(). Returns the pointer to |
217 |
* Case insensitive version of strstr(). Returns the pointer to |
| 218 |
* needle in haystack if found or NULL on no match. |
218 |
* needle in haystack if found or NULL on no match. |
| 219 |
*/ |
219 |
*/ |
| 220 |
char *strcasestr(const char *haystack, const char *needle) |
220 |
char *strcasestr(const char *haystack, const char *needle) throw() |
| 221 |
{ |
221 |
{ |
| 222 |
const char *strptr1, *strptr2, *strptr3; |
222 |
const char *strptr1, *strptr2, *strptr3; |
| 223 |
|
223 |
|