summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/str-list.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-11 10:10:34 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-11 10:10:34 +0000
commit0a379f3570e256634fa48b143b6a46bf508eb150 (patch)
tree1343ba8a25c16b71c62353b24a01bf3070d99c56 /Build/source/texk/kpathsea/str-list.h
parentce51c79c2c2f0d62a7f86a7d0e760d9c711e5dbf (diff)
unexport libkpathsea internal function prototypes
git-svn-id: svn://tug.org/texlive/trunk@16967 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/str-list.h')
-rw-r--r--Build/source/texk/kpathsea/str-list.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/str-list.h b/Build/source/texk/kpathsea/str-list.h
index eb76e12f007..cf33c726508 100644
--- a/Build/source/texk/kpathsea/str-list.h
+++ b/Build/source/texk/kpathsea/str-list.h
@@ -1,6 +1,6 @@
/* str-list.h: declarations for string lists.
- Copyright 1993, 1994, 2007, 2008 Karl Berry.
+ Copyright 1993, 1994, 2007, 2008, 2010 Karl Berry.
Copyright 1999, 2005 Olaf Weber.
This library is free software; you can redistribute it and/or
@@ -36,14 +36,20 @@ typedef struct
#define STR_LIST_ELT(l, n) STR_LIST (l)[n]
#define STR_LIST_LAST_ELT(l) STR_LIST_ELT (l, STR_LIST_LENGTH (l) - 1)
+#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
+
/* Return a new, empty, list. */
extern str_list_type str_list_init (void);
+#endif /* MAKE_KPSE_DLL */
+
/* Append the string S to the list L. It's up to the caller to not
deallocate S; we don't copy it. Also up to the caller to terminate
the list with a null entry. */
extern KPSEDLL void str_list_add (str_list_type *l, string s);
+#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
+
/* Append all the elements from MORE to TARGET. */
extern void str_list_concat (str_list_type * target, str_list_type more);
@@ -58,4 +64,6 @@ extern void str_list_concat_elements
/* Remove duplicate elements from L, freeing their space. */
extern void str_list_uniqify (str_list_type *l);
+#endif /* MAKE_KPSE_DLL */
+
#endif /* not KPATHSEA_STR_LIST_H */