-char * recode_string (const char *to, const char *from,
- const char *text, int len);
+/* The encoding of literal strings in PSPP source code, as seen at execution
+ time. In fact this is likely to be some extended ASCII encoding, such as
+ UTF-8 or ISO-8859-1, but ASCII is adequate for our purposes. */
+#define C_ENCODING "ASCII"
+
+struct pool;
+
+char recode_byte (const char *to, const char *from, char);
+
+char *recode_string (const char *to, const char *from,
+ const char *text, int len);
+char *recode_string_pool (const char *to, const char *from,
+ const char *text, int length, struct pool *);
+struct substring recode_substring_pool (const char *to, const char *from,
+ struct substring text, struct pool *);
+
+size_t recode_string_len (const char *to, const char *from,
+ const char *text, int len);