pxd: initial work
[pspp] / src / data / dictionary.h
index 66542469e321c630c87b2396c9d6ab0f9a84c3e2..62acd584f12acab245e4d2b5f8c28f4dcd1fdbca 100644 (file)
 #include "data/case.h"
 #include "data/dict-class.h"
 
-struct string;
 struct ccase;
+struct pxd;
+struct string;
 
 /* Creating dictionaries. */
 struct dictionary *dict_create (const char *encoding);
 struct dictionary *dict_clone (const struct dictionary *);
 
-
 /* Clearing and destroying dictionaries. */
 void dict_clear (struct dictionary *);
 void dict_destroy (struct dictionary *);
@@ -199,4 +199,8 @@ void dict_set_change_callback (struct dictionary *d,
 /* Debug use only. */
 void dict_dump (const struct dictionary *);
 
+/* Saving and loading. */
+struct pxd_object *dict_save (const struct dictionary *, struct pxd *);
+struct dictionary *dict_load (struct pxd_object *, const struct pxd *);
+
 #endif /* data/dictionary.h */