Replace legacy_recode with recode_string.
[pspp-builds.git] / src / libpspp / legacy-encoding.h
index ec889efbc9044b9bdc3626249900f2dba47172ba..c6ae0ab4aa2bb25faf9f074436aa3bd9637bb137 100644 (file)
 #ifndef LIBPSPP_LEGACY_ENCODING
 #define LIBPSPP_LEGACY_ENCODING 1
 
-#include <stddef.h>
 #include <libpspp/compiler.h>
 
-
 #if 'A' == 0x41
-#define  LEGACY_NATIVE "PSPP-LEGACY-ASCII"
+#define  LEGACY_NATIVE "ASCII"
 #elif 'A' == 0xc1
-#define  LEGACY_NATIVE "PSPP-LEGACY-EBCDIC"
+#define  LEGACY_NATIVE "EBCDIC-US"
 #else
 #error Cannot detect native character set.
 #endif
 
-
-
-void legacy_recode (const char *from, const char *src,
-                    const char *to, char *dst, size_t);
 char legacy_to_native (const char *from, char) PURE_FUNCTION;
 char legacy_from_native (const char *to, char) PURE_FUNCTION;
 
+
 #endif /* libpspp/legacy-encoding.h */