#include "unitypes.h"
+/* Get bool. */
#include <stdbool.h>
/* Get size_t. */
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
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.
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