projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lexer: Reimplement for better testability and internationalization.
[pspp-builds.git]
/
src
/
data
/
procedure.h
diff --git
a/src/data/procedure.h
b/src/data/procedure.h
index 9ad3642945d5793b9d8fc4e256c7fb31180152ad..ad45a53720052ba9d784d6eb7b1aea27ec175f47 100644
(file)
--- a/
src/data/procedure.h
+++ b/
src/data/procedure.h
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* 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, 2010, 2011
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
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
@@
-20,8
+20,8
@@
#include <time.h>
#include <stdbool.h>
#include <time.h>
#include <stdbool.h>
-#include
<data/transformations.h>
-#include
<libpspp/compiler.h>
+#include
"data/transformations.h"
+#include
"libpspp/compiler.h"
struct casereader;
struct dataset;
struct casereader;
struct dataset;
@@
-53,7
+53,8
@@
typedef void replace_dictionary_callback (struct dictionary *);
typedef void transformation_change_callback_func (bool non_empty, void *aux);
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 *,
void destroy_dataset (struct dataset *);
void dataset_add_transform_change_callback (struct dataset *,
@@
-71,6
+72,7
@@
void proc_discard_output (struct dataset *ds);
bool proc_execute (struct dataset *ds);
time_t time_of_last_procedure (struct dataset *ds);
bool proc_execute (struct dataset *ds);
time_t time_of_last_procedure (struct dataset *ds);
+struct casereader *proc_open_filtering (struct dataset *, bool filter);
struct casereader *proc_open (struct dataset *);
bool proc_is_open (const struct dataset *);
bool proc_commit (struct dataset *);
struct casereader *proc_open (struct dataset *);
bool proc_is_open (const struct dataset *);
bool proc_commit (struct dataset *);
@@
-80,8
+82,12
@@
bool dataset_end_of_command (struct dataset *);
struct dictionary *dataset_dict (const struct dataset *ds);
const struct casereader *dataset_source (const struct dataset *ds);
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_need_lag (struct dataset *ds, int n_before);
+void dataset_set_callback (struct dataset *ds, void (*cb) (void *), void *);
+
+void dataset_set_default_syntax_encoding (struct dataset *, const char *);
+const char *dataset_get_default_syntax_encoding (const struct dataset *);
+
#endif /* procedure.h */
#endif /* procedure.h */