X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvector.h;fp=src%2Fdata%2Fvector.h;h=831962965f03bf1442d07e76748d285f2e313fb3;hb=52c54183e360053b1845e46cb96cd44a0cf96040;hp=f8fe0888497cc543a8a87e91b8c705ddcfd71cb1;hpb=2ca3267c1110bbff675c560b19d02defb96ee2f9;p=pspp diff --git a/src/data/vector.h b/src/data/vector.h index f8fe088849..831962965f 100644 --- a/src/data/vector.h +++ b/src/data/vector.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2006, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 2006, 2010-2012 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 @@ -18,9 +18,11 @@ #define DATA_VECTOR_H 1 #include -#include "data/variable.h" +#include "data/val-type.h" struct dictionary; +struct pxd; +struct variable; struct vector *vector_create (const char *name, struct variable **var, size_t var_cnt); @@ -38,4 +40,8 @@ bool vector_is_valid_name (const char *name, bool issue_error); int compare_vector_ptrs_by_name (const void *a_, const void *b_); +struct pxd_object *vector_save (const struct vector *, struct pxd *); +struct vector *vector_load (struct pxd_object *, const struct pxd *, + const struct dictionary *); + #endif /* data/vector.h */