update from texinfo
[gnulib.git] / lib / unicase.h
index 63fd862..9f37a6b 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "unitypes.h"
 
+/* Get bool.  */
 #include <stdbool.h>
 
 /* Get size_t.  */
@@ -166,6 +167,10 @@ extern int
        u32_casecmp (const uint32_t *s1, size_t n1,
                    const uint32_t *s2, size_t n2,
                    const char *iso639_language, uninorm_t nf, int *resultp);
+extern int
+       ulc_casecmp (const char *s1, size_t n1,
+                   const char *s2, size_t n2,
+                   const char *iso639_language, uninorm_t nf, int *resultp);
 
 /* Converts the string S of length N to a string in locale encoding, in such a
    way that comparing uN_casexfrm (S1) and uN_casexfrm (S2) with memcmp2() is
@@ -180,6 +185,9 @@ extern char *
 extern char *
        u32_casexfrm (const uint32_t *s, size_t n, const char *iso639_language,
                     uninorm_t nf, char *resultbuf, size_t *lengthp);
+extern char *
+       ulc_casexfrm (const char *s, size_t n, const char *iso639_language,
+                    uninorm_t nf, char *resultbuf, size_t *lengthp);
 
 /* Compare S1 and S2, ignoring differences in case and normalization, using the
    collation rules of the current locale.
@@ -200,6 +208,10 @@ extern int
        u32_casecoll (const uint32_t *s1, size_t n1,
                     const uint32_t *s2, size_t n2,
                     const char *iso639_language, uninorm_t nf, int *resultp);
+extern int
+       ulc_casecoll (const char *s1, size_t n1,
+                    const char *s2, size_t n2,
+                    const char *iso639_language, uninorm_t nf, int *resultp);
 
 
 /* Set *RESULTP to true if mapping NFD(S) to upper case is a no-op, or to false