X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fprocedure.h;h=3c43e712178b554380e7b3ca5a503cb42d89e2ba;hb=f5eee9d8478b154444bb0eede53fb892b8130974;hp=5a1968782cb9fa462aaf29351cbd7ed8a0a48e61;hpb=81fff61a96bece351e381ad3fef8ab1248a952ba;p=pspp diff --git a/src/data/procedure.h b/src/data/procedure.h index 5a1968782c..3c43e71217 100644 --- a/src/data/procedure.h +++ b/src/data/procedure.h @@ -62,15 +62,16 @@ bool proc_has_source (void); void proc_set_sink (struct case_sink *); struct casefile *proc_capture_output (void); -bool procedure (bool (*proc_func) (struct ccase *, void *aux), void *aux); -bool procedure_with_splits (void (*begin_func) (void *aux), - bool (*proc_func) (struct ccase *, void *aux), - void (*end_func) (void *aux), +bool procedure (bool (*proc_func) (const struct ccase *, void *), + void *aux); +bool procedure_with_splits (void (*begin_func) (const struct ccase *, void *), + bool (*proc_func) (const struct ccase *, void *), + void (*end_func) (void *), void *aux); -bool multipass_procedure (bool (*proc_func) (const struct casefile *, - void *aux), +bool multipass_procedure (bool (*proc_func) (const struct casefile *, void *), void *aux); -bool multipass_procedure_with_splits (bool (*) (const struct casefile *, +bool multipass_procedure_with_splits (bool (*) (const struct ccase *, + const struct casefile *, void *), void *aux); time_t time_of_last_procedure (void);