X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fsort.h;h=4f8659e68d5de7100a431ee940c2e595a24506d7;hb=cf89e411db41c05c39753b05cf144c8b26a44d96;hp=928a5170b1340caeeb105687020e2ad11db61136;hpb=f9d47b5bba8416419cf3bcd3aa23c2d40a05fcac;p=pspp diff --git a/src/sort.h b/src/sort.h index 928a5170b1..4f8659e68d 100644 --- a/src/sort.h +++ b/src/sort.h @@ -40,13 +40,17 @@ struct sort_cases_pgm struct internal_sort *isrt; /* Internal sort output. */ struct external_sort *xsrt; /* External sort output. */ + size_t case_size; /* Number of bytes in case. */ }; /* SORT CASES programmatic interface. */ + +typedef int read_sort_output_func (const struct ccase *, void *aux); + struct sort_cases_pgm *parse_sort (void); int sort_cases (struct sort_cases_pgm *, int separate); void read_sort_output (struct sort_cases_pgm *, - write_case_func *, write_case_data); + read_sort_output_func, void *aux); void destroy_sort_cases_pgm (struct sort_cases_pgm *); #endif /* !sort_h */