X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fstringi-set.h;h=2a000889ec1fa9a686a519dbb859a3355131f01b;hb=d7a8159acf53f6bf70940d711b32348b6ae75f16;hp=caccca8626e389a6e244b80d2d0f05bfc05dece2;hpb=ac4a498528bce608cd2009bef01fd08d049a02af;p=pspp diff --git a/src/libpspp/stringi-set.h b/src/libpspp/stringi-set.h index caccca8626..2a000889ec 100644 --- a/src/libpspp/stringi-set.h +++ b/src/libpspp/stringi-set.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009, 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 @@ -22,7 +22,7 @@ This is a convenient wrapper around a "struct hmap" for storing strings. */ #include -#include +#include "libpspp/hmap.h" /* A node in the string set. */ struct stringi_set_node @@ -77,6 +77,9 @@ void stringi_set_union_and_intersection (struct stringi_set *, void stringi_set_intersect (struct stringi_set *, const struct stringi_set *); void stringi_set_subtract (struct stringi_set *, const struct stringi_set *); +char **stringi_set_get_array (const struct stringi_set *); +char **stringi_set_get_sorted_array (const struct stringi_set *); + static inline const struct stringi_set_node *stringi_set_first ( const struct stringi_set *); static inline const struct stringi_set_node *stringi_set_next (