Made var_is_valid_name more permissive.
[pspp] / src / libpspp / i18n.h
index 0633ebc82f807b9fb1d89429c3bf99fa9699930c..c167e1f99b2ce63ebfd109494e08951b1ac17a9f 100644 (file)
 #ifndef I18N_H
 #define I18N_H
 
-const char * get_pspp_locale (void);
-void set_pspp_locale (const char *locale);
-const char * get_pspp_charset (void);
-
 void  i18n_done (void);
 void  i18n_init (void);
 
-enum conv_id
-  {
-    CONV_PSPP_TO_UTF8,
-    CONV_SYSTEM_TO_PSPP,
-    CONV_UTF8_TO_PSPP,
-    n_CONV
-  };
 
+#define UTF8 "UTF-8"
 
-char * recode_string (enum conv_id how,  const char *text, int len);
+char * recode_string (const char *to, const char *from,
+                     const char *text, int len);
 
 
+/* Return the decimal separator according to the
+   system locale */
+char get_system_decimal (void);
 
 #endif /* i18n.h */