i18n: Introduce C_ENCODING as replacement for LEGACY_NATIVE.
[pspp-builds.git] / src / libpspp / legacy-encoding.h
index ec889efbc9044b9bdc3626249900f2dba47172ba..560cbf87a90bf8226493c65185542642740e7aba 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2011 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #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"
-#elif 'A' == 0xc1
-#define  LEGACY_NATIVE "PSPP-LEGACY-EBCDIC"
-#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;