/* PSPP - a program for statistical analysis.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 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
void casewriter_write (struct casewriter *, struct ccase *);
bool casewriter_destroy (struct casewriter *);
+size_t casewriter_get_value_cnt (const struct casewriter *);
+
struct casereader *casewriter_make_reader (struct casewriter *);
struct casewriter *casewriter_rename (struct casewriter *);
struct casewriter *autopaging_writer_create (size_t value_cnt);
\f
struct casewriter *
-casewriter_create_translator (struct casewriter *,
- void (*translate) (const struct ccase *input,
- struct ccase *output,
- void *aux),
+casewriter_create_translator (struct casewriter *, size_t translated_value_cnt,
+ struct ccase *(*translate) (struct ccase *input,
+ void *aux),
bool (*destroy) (void *aux),
void *aux);