#ifndef MEANS_H
#define MEANS_H
+#include "libpspp/hmap.h"
+#include "libpspp/bt.h"
#include "libpspp/compiler.h"
+struct casereader;
+struct dataset;
+struct lexer;
+
struct cell_container
{
/* A hash table containing the cells. The table is indexed by a hash
/* The statistics to be calculated for each cell. */
int *statistics;
int n_statistics;
+ size_t allocated_statistics;
/* Pool on which cell functions may allocate data. */
struct pool *pool;
MEANS_STDDEV
};
-
-
-struct dataset;
-struct casereader;
-void run_means (struct means *cmd, struct casereader *input, const struct dataset *ds UNUSED);
-
-void means_shipout (const struct mtable *mt, const struct means *means);
-
-void means_case_processing_summary (const struct mtable *mt);
-
-
-void destroy_means (struct means *means);
-
+void run_means (struct means *, struct casereader *, const struct dataset *);
+bool means_parse (struct lexer *, struct means *);
+void means_set_default_statistics (struct means *);
#endif