X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcase-map.h;h=010dd487274d537af9035a53b5e5dac21ef12a91;hb=186db0c54bcb0caf4a6df1fcc60b8158bc11ab92;hp=86d448ec9d8aefe6b45efdf9463313e212814cf4;hpb=9db3101d0bbbcfb687acd3e442e550557e4e56b1;p=pspp-builds.git diff --git a/src/data/case-map.h b/src/data/case-map.h index 86d448ec..010dd487 100644 --- a/src/data/case-map.h +++ b/src/data/case-map.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2009 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 @@ -27,16 +27,22 @@ #include struct case_map; -struct dictionary; +struct casereader; +struct casewriter; struct ccase; +struct dictionary; struct case_map *case_map_create (void); void case_map_destroy (struct case_map *); -void case_map_execute (const struct case_map *, - const struct ccase *, struct ccase *); +struct ccase *case_map_execute (const struct case_map *, struct ccase *); size_t case_map_get_value_cnt (const struct case_map *); +struct casereader *case_map_create_input_translator (struct case_map *, + struct casereader *); +struct casewriter *case_map_create_output_translator (struct case_map *, + struct casewriter *); + /* For mapping cases for one version of a dictionary to those in a modified version of the same dictionary. */ void case_map_prepare_dict (const struct dictionary *);