X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fdata%2Fprocedure.h;h=09d44eeef612bdda52072acbf8be40a8982f9a46;hb=4e77f0d303d1ef44ee797941a3bebdcbb37119aa;hp=9ad3642945d5793b9d8fc4e256c7fb31180152ad;hpb=2bdde1cd21cd58349cf4bd852fddf40524854288;p=pspp-builds.git diff --git a/src/data/procedure.h b/src/data/procedure.h index 9ad36429..09d44eee 100644 --- a/src/data/procedure.h +++ b/src/data/procedure.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2006, 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 @@ -53,7 +53,8 @@ typedef void replace_dictionary_callback (struct dictionary *); typedef void transformation_change_callback_func (bool non_empty, void *aux); -struct dataset * create_dataset (transformation_change_callback_func *, void *); +struct dataset * create_dataset (void); + void destroy_dataset (struct dataset *); void dataset_add_transform_change_callback (struct dataset *, @@ -81,7 +82,9 @@ struct dictionary *dataset_dict (const struct dataset *ds); const struct casereader *dataset_source (const struct dataset *ds); -struct ccase *lagged_case (const struct dataset *ds, int n_before); +const struct ccase *lagged_case (const struct dataset *ds, int n_before); void dataset_need_lag (struct dataset *ds, int n_before); +void dataset_set_callback (struct dataset *ds, void (*cb) (void *), void *); + #endif /* procedure.h */