X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdata-out.h;h=b18d067436fbb9b95a3cc5a9043ea20560b26632;hb=649c202d57d7d5d8bb87be5b72839cd56ca4ca0b;hp=7972f6a90eafe5050e2c219ecb2e45888ce20981;hpb=9254d30d06a0565c89daccedd93a94c4c6086004;p=pspp diff --git a/src/data/data-out.h b/src/data/data-out.h index 7972f6a90e..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 *, const char *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 */