libg722_1
0.0.1
|
00001 /* lt__argz.h -- internal argz interface for non-glibc systems 00002 00003 Copyright (C) 2004, 2007, 2008 Free Software Foundation, Inc. 00004 Written by Gary V. Vaughan, 2004 00005 00006 NOTE: The canonical source of this file is maintained with the 00007 GNU Libtool package. Report bugs to bug-libtool@gnu.org. 00008 00009 GNU Libltdl is free software; you can redistribute it and/or 00010 modify it under the terms of the GNU Lesser General Public 00011 License as published by the Free Software Foundation; either 00012 version 2 of the License, or (at your option) any later version. 00013 00014 As a special exception to the GNU Lesser General Public License, 00015 if you distribute this file as part of a program or library that 00016 is built using GNU Libtool, you may include this file under the 00017 same distribution terms that you use for the rest of that program. 00018 00019 GNU Libltdl is distributed in the hope that it will be useful, 00020 but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 GNU Lesser General Public License for more details. 00023 00024 You should have received a copy of the GNU Lesser General Public 00025 License along with GNU Libltdl; see the file COPYING.LIB. If not, a 00026 copy can be downloaded from http://www.gnu.org/licenses/lgpl.html, 00027 or obtained by writing to the Free Software Foundation, Inc., 00028 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00029 */ 00030 00031 #if !defined(LT__ARGZ_H) 00032 #define LT__ARGZ_H 1 00033 00034 #include <stdlib.h> 00035 #define __need_error_t 00036 #include <errno.h> 00037 #include <sys/types.h> 00038 00039 #if defined(LTDL) 00040 # include "lt__glibc.h" 00041 # include "lt_system.h" 00042 #else 00043 # define LT_SCOPE 00044 #endif 00045 00046 #if defined(__cplusplus) 00047 extern "C" { 00048 #endif 00049 00050 LT_SCOPE error_t argz_append (char **pargz, size_t *pargz_len, 00051 const char *buf, size_t buf_len); 00052 LT_SCOPE error_t argz_create_sep(const char *str, int delim, 00053 char **pargz, size_t *pargz_len); 00054 LT_SCOPE error_t argz_insert (char **pargz, size_t *pargz_len, 00055 char *before, const char *entry); 00056 LT_SCOPE char * argz_next (char *argz, size_t argz_len, 00057 const char *entry); 00058 LT_SCOPE void argz_stringify (char *argz, size_t argz_len, int sep); 00059 00060 #if defined(__cplusplus) 00061 } 00062 #endif 00063 00064 #if !defined(LTDL) 00065 # undef LT_SCOPE 00066 #endif 00067 00068 #endif /*!defined(LT__ARGZ_H)*/