summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/str-list.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-12-23 00:21:33 +0000
committerKarl Berry <karl@freefriends.org>2007-12-23 00:21:33 +0000
commitff35e824456a6c889424b2a56ea65d769f1e5e19 (patch)
treece06613e09682ec54cfe6e7f847b2f629843e790 /Build/source/texk/kpathsea/str-list.h
parentbef64609b4b323e9ee4f3ac67b3769d0c192f8ec (diff)
implement kpsewhich --all for normal searches
git-svn-id: svn://tug.org/texlive/trunk@5825 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/str-list.h')
-rw-r--r--Build/source/texk/kpathsea/str-list.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/Build/source/texk/kpathsea/str-list.h b/Build/source/texk/kpathsea/str-list.h
index dcffd928424..1a80047a7bc 100644
--- a/Build/source/texk/kpathsea/str-list.h
+++ b/Build/source/texk/kpathsea/str-list.h
@@ -1,7 +1,7 @@
/* str-list.h: Declarations for string lists.
+ Copyright 1993, 1994, 2007 Karl Berry.
Copyright 1999, 2005 Olaf Weber.
- Copyright 1993, 94 Karl Berry.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -13,11 +13,8 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-*/
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; if not, see <http://www.gnu.org/licenses/>. */
#ifndef KPATHSEA_STR_LIST_H
#define KPATHSEA_STR_LIST_H
@@ -54,7 +51,11 @@ extern void str_list_concat P2H(str_list_type * target, str_list_type more);
themselves). */
extern void str_list_free P1H(str_list_type *l);
-/* Append each element of more to each element of target. */
-extern void str_list_concat_elements P2H(str_list_type * target, str_list_type more);
+/* Append each element of MORE to each element of TARGET. */
+extern void str_list_concat_elements
+ P2H(str_list_type *target, str_list_type more);
+
+/* Remove duplicate elements from L, freeing their space. */
+extern void str_list_uniqify P1H(str_list_type *l);
#endif /* not KPATHSEA_STR_LIST_H */