Annotation of parser3/src/lib/ltdl/libltdl/lt__argz_.h, revision 1.1

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

E-mail: