diff options
author | Daniel Molkentin <daniel@molkentin.de> | 2014-10-24 23:39:21 +0400 |
---|---|---|
committer | Daniel Molkentin <daniel@molkentin.de> | 2014-10-24 23:39:21 +0400 |
commit | d0b40bab4773d29e762be70e1ab2e0da6ee4e69a (patch) | |
tree | 5f43d98b8be7e53cd401319ed31ed89c6c2c7c1b /csync/src/std/c_string.h | |
parent | 0e828d802e1e37d01bd6c1d53a20181f493b540c (diff) | |
parent | d76192cce12658d08122204df75c3c29b59895a5 (diff) |
Merge pull request #2391 from owncloud/ignore_windows_reserved_charactersv1.7.0-rc1
Ignore reserved words on Windows
Diffstat (limited to 'csync/src/std/c_string.h')
-rw-r--r-- | csync/src/std/c_string.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/csync/src/std/c_string.h b/csync/src/std/c_string.h index d80727a63..920266c5c 100644 --- a/csync/src/std/c_string.h +++ b/csync/src/std/c_string.h @@ -60,6 +60,17 @@ struct c_strlist_s { }; /** + * @brief Compare to strings case insensitively. + * + * @param a First string to compare. + * @param b Second string to compare. + * @param n Max comparison length. + * + * @return see strncasecmp + */ +int c_strncasecmp(const char *a, const char *b, size_t n); + +/** * @brief Compare to strings if they are equal. * * @param a First string to compare. |