/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
- Written by Ben Pfaff <blp@gnu.org>.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
struct casereader;
struct dictionary;
struct variable;
+struct casefile_factory;
extern int min_buffers ;
extern int max_buffers ;
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 */