source: squid-ssl/trunk/fuentes/libltdl/argz_.h @ 5496

Last change on this file since 5496 was 5496, checked in by Juanma, 22 months ago

Initial release

File size: 2.2 KB
Line 
1/* lt__argz.h -- internal argz interface for non-glibc systems
2
3   Copyright (C) 2004, 2007, 2008 Free Software Foundation, Inc.
4   Written by Gary V. Vaughan, 2004
5
6   NOTE: The canonical source of this file is maintained with the
7   GNU Libtool package.  Report bugs to bug-libtool@gnu.org.
8
9GNU Libltdl is free software; you can redistribute it and/or
10modify it under the terms of the GNU Lesser General Public
11License as published by the Free Software Foundation; either
12version 2 of the License, or (at your option) any later version.
13
14As a special exception to the GNU Lesser General Public License,
15if you distribute this file as part of a program or library that
16is built using GNU Libtool, you may include this file under the
17same distribution terms that you use for the rest of that program.
18
19GNU Libltdl is distributed in the hope that it will be useful,
20but WITHOUT ANY WARRANTY; without even the implied warranty of
21MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22GNU Lesser General Public License for more details.
23
24You should have received a copy of the GNU Lesser General Public
25License along with GNU Libltdl; see the file COPYING.LIB.  If not, a
26copy can be downloaded from http://www.gnu.org/licenses/lgpl.html,
27or obtained by writing to the Free Software Foundation, Inc.,
2851 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
29*/
30
31#if !defined(LT__ARGZ_H)
32#define LT__ARGZ_H 1
33
34#include <stdlib.h>
35#define __need_error_t
36#include <errno.h>
37#include <sys/types.h>
38
39#if defined(LTDL)
40#  include "lt__glibc.h"
41#  include "lt_system.h"
42#else
43#  define LT_SCOPE
44#endif
45
46#if defined(__cplusplus)
47extern "C" {
48#endif
49
50LT_SCOPE error_t argz_append    (char **pargz, size_t *pargz_len,
51                                 const char *buf, size_t buf_len);
52LT_SCOPE error_t argz_create_sep(const char *str, int delim,
53                                 char **pargz, size_t *pargz_len);
54LT_SCOPE error_t argz_insert    (char **pargz, size_t *pargz_len,
55                                 char *before, const char *entry);
56LT_SCOPE char *  argz_next      (char *argz, size_t argz_len,
57                                 const char *entry);
58LT_SCOPE void    argz_stringify (char *argz, size_t argz_len, int sep);
59
60#if defined(__cplusplus)
61}
62#endif
63
64#if !defined(LTDL)
65#  undef LT_SCOPE
66#endif
67
68#endif /*!defined(LT__ARGZ_H)*/
Note: See TracBrowser for help on using the repository browser.