X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fmissing-values.h;h=504d06ad674e9e2bb6db5ab7a6440d8d653bb4d4;hb=52c54183e360053b1845e46cb96cd44a0cf96040;hp=511ebd7ddd37273a9f2df1b6ad1ac0c31227e792;hpb=2ca3267c1110bbff675c560b19d02defb96ee2f9;p=pspp diff --git a/src/data/missing-values.h b/src/data/missing-values.h index 511ebd7ddd..504d06ad67 100644 --- a/src/data/missing-values.h +++ b/src/data/missing-values.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2005, 2009, 2013 Free Software Foundation, Inc. + Copyright (C) 2005, 2009, 2013-2015 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 @@ -37,6 +37,7 @@ #include "data/value.h" struct pool; +struct pxd; /* Missing values for long string variables after the first MV_MAX_STRING bytes must be all spaces. */ @@ -103,4 +104,9 @@ bool mv_replace_value (struct missing_values *, const union value *, int idx); bool mv_add_range (struct missing_values *, double low, double high); void mv_pop_range (struct missing_values *, double *low, double *high); +/* Saving and loading. */ +struct pxd_object *mv_save (const struct missing_values *, struct pxd *); +void mv_load (struct missing_values *, + struct pxd_object *, const struct pxd *); + #endif /* data/missing-values.h */