pxd: initial work
[pspp] / src / data / vector.h
index f8fe0888497cc543a8a87e91b8c705ddcfd71cb1..831962965f03bf1442d07e76748d285f2e313fb3 100644 (file)
@@ -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
 #define DATA_VECTOR_H 1
 
 #include <stddef.h>
-#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 */