X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fsort.h;h=c6f86e9f4d39990a851b0b02c8a34fbfd164a4a6;hb=ece16c8d0b27fc6c970f6d491b9a3e8a958fde82;hp=267384b29c2c71a88eafa9e5af02e6706bbb3af5;hpb=dcf9b154cbcaa35c3d8459a201b77eec8bcb30bd;p=pspp diff --git a/src/math/sort.h b/src/math/sort.h index 267384b29c..c6f86e9f4d 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 * + ); -int 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 */