X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvector.h;h=f8fe0888497cc543a8a87e91b8c705ddcfd71cb1;hb=c7037d42254bb3c0e1dac2e1bd6ef95c6db8ba27;hp=0f4359826c5c3d22b331d0dbb0109d1fba4c3488;hpb=43b1296aafe7582e7dbe6c2b6a8b478d7d9b0fcf;p=pspp diff --git a/src/data/vector.h b/src/data/vector.h index 0f4359826c..f8fe088849 100644 --- a/src/data/vector.h +++ b/src/data/vector.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006, 2010, 2011 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,7 +18,7 @@ #define DATA_VECTOR_H 1 #include -#include +#include "data/variable.h" struct dictionary; @@ -30,10 +30,12 @@ struct vector *vector_clone (const struct vector *old, void vector_destroy (struct vector *); const char *vector_get_name (const struct vector *); -enum var_type vector_get_type (const struct vector *); +enum val_type vector_get_type (const struct vector *); struct variable *vector_get_var (const struct vector *, size_t idx); size_t vector_get_var_cnt (const struct vector *); +bool vector_is_valid_name (const char *name, bool issue_error); + int compare_vector_ptrs_by_name (const void *a_, const void *b_); #endif /* data/vector.h */