Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'csync/src/std/c_string.h')
-rw-r--r--csync/src/std/c_string.h11
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.