X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flibpspp%2Fi18n.h;h=232c5dc166ec69d6e68e0c4ac1fe9d10fe6e7dae;hb=c94be33beb7085e1cbb1ec47f0e3a49c896d443b;hp=d128fcea1a68015eeda204c07056ec0accf36b97;hpb=c8765cd7639e64d5dcd8f494aee23babb3b3f179;p=pspp diff --git a/src/libpspp/i18n.h b/src/libpspp/i18n.h index d128fcea1a..232c5dc166 100644 --- a/src/libpspp/i18n.h +++ b/src/libpspp/i18n.h @@ -79,6 +79,7 @@ int utf8_strncasecmp (const char *, size_t, const char *, size_t); int utf8_strverscasecmp (const char *, const char *); char *utf8_to_upper (const char *); char *utf8_to_lower (const char *); +char *utf8_to_title (const char *); /* Information about character encodings. */ @@ -91,7 +92,7 @@ char *utf8_to_lower (const char *); a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 - ! " # % & ' ( ) * + , - . / : + ! " # % & ' () * + , - . / : ; < = > ? [ \ ] ^ _ { | } ~ space \a \b \r \n \t \v \f \0 @@ -168,4 +169,8 @@ struct encoding_category 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 */