diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2014-10-24 21:18:57 +0400 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2014-10-24 21:18:57 +0400 |
commit | d76192cce12658d08122204df75c3c29b59895a5 (patch) | |
tree | 3785471698cf3183b11f9c6d1dc6c15740f445d0 /csync/src/std/c_string.h | |
parent | 3c7ff97ed40d0550cd0091941d7dfc37b824e5d9 (diff) |
Ignore reserved words on Windows
Fixes #2385 and #2386
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. |