diff options
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. |