#define I18N_H
#include "libpspp/compiler.h"
+#include "libpspp/str.h"
#include <stdbool.h>
#include <unistr.h>
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 *);
struct encoding_category *get_encoding_categories (void);
size_t get_n_encoding_categories (void);
+/* Return the ISO two letter code for the current LC_MESSAGES
+ locale category. */
+char *get_language (void);
+
#endif /* i18n.h */