/* 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;