projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output: Add auxiliary data parameter to tab_dim.
[pspp-builds.git]
/
src
/
data
/
dictionary.h
diff --git
a/src/data/dictionary.h
b/src/data/dictionary.h
index 682409e24216a11c7492cb39082b30d62f101f19..4efb953c550fae754c62c96098bb8e8a51995b80 100644
(file)
--- a/
src/data/dictionary.h
+++ b/
src/data/dictionary.h
@@
-147,6
+147,11
@@
struct attrset *dict_get_attributes (const struct dictionary *);
void dict_set_attributes (struct dictionary *, const struct attrset *);
bool dict_has_attributes (const struct dictionary *);
void dict_set_attributes (struct dictionary *, const struct attrset *);
bool dict_has_attributes (const struct dictionary *);
+
+void dict_set_encoding (struct dictionary *d, const char *enc);
+const char *dict_get_encoding (const struct dictionary *d);
+
+
/* Functions to be called upon dictionary changes. */
struct dict_callbacks
{
/* Functions to be called upon dictionary changes. */
struct dict_callbacks
{
@@
-164,6
+169,11
@@
void dict_set_callbacks (struct dictionary *, const struct dict_callbacks *,
void *);
void dict_copy_callbacks (struct dictionary *, const struct dictionary *);
void *);
void dict_copy_callbacks (struct dictionary *, const struct dictionary *);
+void dict_set_change_callback (struct dictionary *d,
+ void (*changed) (struct dictionary *, void*),
+ void *data);
+
+
/* Debug use only. */
void dict_dump (const struct dictionary *);
/* Debug use only. */
void dict_dump (const struct dictionary *);