X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdictionary.h;h=62acd584f12acab245e4d2b5f8c28f4dcd1fdbca;hb=52c54183e360053b1845e46cb96cd44a0cf96040;hp=66542469e321c630c87b2396c9d6ab0f9a84c3e2;hpb=2ca3267c1110bbff675c560b19d02defb96ee2f9;p=pspp diff --git a/src/data/dictionary.h b/src/data/dictionary.h index 66542469e3..62acd584f1 100644 --- a/src/data/dictionary.h +++ b/src/data/dictionary.h @@ -22,14 +22,14 @@ #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 */