X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fstring-array.h;h=b4a6989d6deb47a83ae6a594aefba914c26b9dfe;hb=ee254a81d976fae12a67e799a4aedee47c6b0bed;hp=36ad7383963d8ca7d23a80b8a820f4ecb8969de9;hpb=c59cff49b708d5d5b6fbb7345b425b9fd8d85fcf;p=pspp diff --git a/src/libpspp/string-array.h b/src/libpspp/string-array.h index 36ad738396..b4a6989d6d 100644 --- a/src/libpspp/string-array.h +++ b/src/libpspp/string-array.h @@ -19,6 +19,7 @@ #include #include +#include "libpspp/str.h" /* An unordered array of strings. @@ -60,7 +61,15 @@ void string_array_terminate_null (struct string_array *); void string_array_shrink (struct string_array *); void string_array_sort (struct string_array *); +void string_array_uniq (struct string_array *); +bool string_array_equal (const struct string_array *, + const struct string_array *); +bool string_array_equal_case (const struct string_array *, + const struct string_array *); + +void string_array_parse (struct string_array *, struct substring string, + struct substring delimiters); char *string_array_join (const struct string_array *, const char *separator); /* Macros for conveniently iterating through a string_array, e.g. to print all