diff options
| author | oy <Tom_Adams@web.de> | 2010-09-29 00:53:53 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-09-29 00:53:53 +0200 |
| commit | aaf8e2bc8e02d37fb132c8acd7c2a8fe82c15117 (patch) | |
| tree | d8898339563b2dbbc4bc55f579c3b180cd1c435f /src/base/system.h | |
| parent | c172c24fd1fbf6a430e1852e62e72f6e0cfeeb63 (diff) | |
| download | zcatch-aaf8e2bc8e02d37fb132c8acd7c2a8fe82c15117.tar.gz zcatch-aaf8e2bc8e02d37fb132c8acd7c2a8fe82c15117.zip | |
cleaned up demo listing and fixed its sorting. Closes #73
Diffstat (limited to 'src/base/system.h')
| -rw-r--r-- | src/base/system.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/base/system.h b/src/base/system.h index 2ef7a9f3..f71a03ec 100644 --- a/src/base/system.h +++ b/src/base/system.h @@ -830,6 +830,24 @@ int str_comp(const char *a, const char *b); int str_comp_num(const char *a, const char *b, const int num); /* + Function: str_comp_filenames + Compares two strings case sensitive, digit chars will be compared as numbers. + + Parameters: + a - String to compare. + b - String to compare. + + Returns: + <0 - String a is lesser then string b + 0 - String a is equal to string b + >0 - String a is greater then string b + + Remarks: + - The strings are treated as zero-termineted strings. +*/ +int str_comp_filenames(const char *a, const char *b); + +/* Function: str_find_nocase Finds a string inside another string case insensitive. |