beta-0.89.2
[luatex.git] / source / texk / kpathsea / concatn.h
blob76140275026da83b8b49033eca07ce40d382c697
1 /* concatn.h: concatenate a variable number of strings.
2 This is a separate include file only because I don't see the point of
3 having every source file include <stdarg.h>. The declarations for
4 the other concat routines are in lib.h.
6 Copyright 1993, 1996, 2008 Karl Berry.
7 Copyright 1999, 2005 Olaf Weber.
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2.1 of the License, or (at your option) any later version.
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
19 You should have received a copy of the GNU Lesser General Public License
20 along with this library; if not, see <http://www.gnu.org/licenses/>. */
22 #ifndef KPATHSEA_CONCATN_H
23 #define KPATHSEA_CONCATN_H
25 #include <kpathsea/c-proto.h>
26 #include <stdarg.h>
27 #include <kpathsea/types.h>
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
33 /* Concatenate a null-terminated list of strings and return the result
34 in malloc-allocated memory. */
35 extern KPSEDLL string concatn(const_string str1, ...);
37 #ifdef __cplusplus
39 #endif
41 #endif /* not KPATHSEA_CONCATN_H */