X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvector.h;h=f8fe0888497cc543a8a87e91b8c705ddcfd71cb1;hb=490ac70d9c9f754f733552d64c23dd6aedced342;hp=b009fcb2922f3ac4c7a67422e2089cef1311c5bf;hpb=a9acce47d67e0ab35ce1690e4f1b1ac0121c2d78;p=pspp diff --git a/src/data/vector.h b/src/data/vector.h index b009fcb292..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; @@ -34,6 +34,8 @@ 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 */