X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fsort.h;h=c6f86e9f4d39990a851b0b02c8a34fbfd164a4a6;hb=a10cebe053263d7e936b6533a3dbf5ac2f0586a1;hp=bccf494aea83078b13258bda5e8d74a16e939736;hpb=e16d30a43af6ada7b8846f48a55eb3cb8f4e5f22;p=pspp-builds.git diff --git a/src/math/sort.h b/src/math/sort.h index bccf494a..c6f86e9f 100644 --- a/src/math/sort.h +++ b/src/math/sort.h @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 1997-9, 2000 Free Software Foundation, Inc. - Written by Ben Pfaff . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -26,6 +25,7 @@ struct casereader; struct dictionary; struct variable; +struct casefile_factory; extern int min_buffers ; extern int max_buffers ; @@ -58,10 +58,15 @@ struct sort_criteria void sort_destroy_criteria (struct sort_criteria *); struct casefile *sort_execute (struct casereader *, - const struct sort_criteria *); + const struct sort_criteria *, + struct casefile_factory * + ); -bool sort_active_file_in_place (const struct sort_criteria *); +struct dataset ; +bool sort_active_file_in_place (struct dataset *ds, + const struct sort_criteria *); -struct casefile *sort_active_file_to_casefile (const struct sort_criteria *); +struct casefile *sort_active_file_to_casefile (struct dataset *ds, + const struct sort_criteria *); #endif /* !sort_h */