data-out: Optimize and fix some bad assumptions.
[pspp-builds.git] / src / data / data-out.h
index 3921773912f6185ece47973f6bb2d1c85bc7efa8..00affb0a3f15f1db99819f92be1ed61dcb620acc 100644 (file)
 #include <libpspp/integer-format.h>
 
 struct fmt_spec;
+struct string;
 union value;
 
 char * data_out (const union value *, const char *encoding, const struct fmt_spec *);
 
 char * data_out_pool (const union value *, const char *encoding, const struct fmt_spec *, struct pool *pool);
 
-void data_out_legacy (const union value *input, const char *encoding,
-                     const struct fmt_spec *format, char *output);
+void data_out_recode (const union value *input, const char *input_encoding,
+                      const struct fmt_spec *,
+                      struct string *output, const char *output_encoding);
 
 #endif /* data-out.h */