X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdata-out.h;h=b18d067436fbb9b95a3cc5a9043ea20560b26632;hb=490ac70d9c9f754f733552d64c23dd6aedced342;hp=f9f70da90d37843d546752b3ad97baf041fdfc51;hpb=9b94efd7513afdb12a6023024e00e50801532fee;p=pspp diff --git a/src/data/data-out.h b/src/data/data-out.h index f9f70da90d..b18d067436 100644 --- a/src/data/data-out.h +++ b/src/data/data-out.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2006, 2011, 2013 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 @@ -18,16 +18,21 @@ #define DATA_OUT_H 1 #include -#include -#include -#include +#include "libpspp/float-format.h" +#include "libpspp/integer-format.h" struct fmt_spec; +struct string; union value; -void data_out (const union value *, const struct fmt_spec *, char *); +char * data_out (const union value *, const char *encoding, const struct fmt_spec *); -void data_out_legacy (const union value *, enum legacy_encoding, - const struct fmt_spec *, char *); +char * data_out_pool (const union value *, const char *encoding, const struct fmt_spec *, struct pool *pool); + +char *data_out_stretchy (const union value *, const char *encoding, const struct fmt_spec *, struct pool *); + +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 */