X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fi18n.h;h=d41ef1ef2c80046f15d84404db542a038e072c5a;hb=655fa71fb616c6016dff390b7760fb9719c74f43;hp=3ae1e9e0b10456c679955ea999bcb64c39834c35;hpb=2d92715dfcc662fc011b707e94506c8f72286fe0;p=pspp diff --git a/src/libpspp/i18n.h b/src/libpspp/i18n.h index 3ae1e9e0b1..d41ef1ef2c 100644 --- a/src/libpspp/i18n.h +++ b/src/libpspp/i18n.h @@ -18,6 +18,7 @@ #define I18N_H #include "libpspp/compiler.h" +#include "libpspp/str.h" #include #include @@ -77,7 +78,10 @@ const char *uc_name (ucs4_t uc, char buffer[16]); unsigned int utf8_hash_case_bytes (const char *, size_t n, unsigned int basis) WARN_UNUSED_RESULT; unsigned int utf8_hash_case_string (const char *, unsigned int basis) WARN_UNUSED_RESULT; +unsigned int utf8_hash_case_substring (struct substring, unsigned int basis) + WARN_UNUSED_RESULT; int utf8_strcasecmp (const char *, const char *); +int utf8_sscasecmp (struct substring, struct substring); int utf8_strncasecmp (const char *, size_t, const char *, size_t); int utf8_strverscasecmp (const char *, const char *); char *utf8_to_upper (const char *);