1 /* lt__argz.h -- internal argz interface for non-glibc systems
2 Copyright (C) 2004 Free Software Foundation, Inc.
3 Originally by Gary V. Vaughan <gary@gnu.org>
5 NOTE: The canonical source of this file is maintained with the
6 GNU Libtool package. Report bugs to bug-libtool@gnu.org.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License along
19 with this program; if not, write to the Free Software Foundation,
20 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
22 #if !defined(LT__ARGZ_H)
26 #include <sys/types.h>
29 # include "lt__glibc.h"
30 # include "lt_system.h"
35 #if defined(_cplusplus)
39 LT_SCOPE error_t argz_append (char **pargz, size_t *pargz_len,
40 const char *buf, size_t buf_len);
41 LT_SCOPE error_t argz_create_sep(const char *str, int delim,
42 char **pargz, size_t *pargz_len);
43 LT_SCOPE error_t argz_insert (char **pargz, size_t *pargz_len,
44 char *before, const char *entry);
45 LT_SCOPE char * argz_next (char *argz, size_t argz_len,
47 LT_SCOPE void argz_stringify (char *argz, size_t argz_len, int sep);
49 #if defined(_cplusplus)
57 #endif /*!defined(LT__ARGZ_H)*/