• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • Examples
  • File List
  • File Members

lt__strl.h

Go to the documentation of this file.
00001 /* lt__strl.h -- size-bounded string copying and concatenation
00002 
00003    Copyright (C) 2004, 2006 Free Software Foundation, Inc.
00004    Written by Bob Friesenhahn, 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__STRL_H)
00032 #define LT__STRL_H 1
00033 
00034 #if defined(LT_CONFIG_H)
00035 #  include LT_CONFIG_H
00036 #else
00037 #  include <config.h>
00038 #endif
00039 
00040 #include <string.h>
00041 #include "lt_system.h"
00042 
00043 #if !defined(HAVE_STRLCAT)
00044 #  define strlcat(dst,src,dstsize) lt_strlcat(dst,src,dstsize)
00045 LT_SCOPE size_t lt_strlcat(char *dst, const char *src, const size_t dstsize);
00046 #endif /* !defined(HAVE_STRLCAT) */
00047 
00048 #if !defined(HAVE_STRLCPY)
00049 #  define strlcpy(dst,src,dstsize) lt_strlcpy(dst,src,dstsize)
00050 LT_SCOPE size_t lt_strlcpy(char *dst, const char *src, const size_t dstsize);
00051 #endif /* !defined(HAVE_STRLCPY) */
00052 
00053 #endif 

Generated on Fri Mar 16 2012 15:46:10 for Gnash by  doxygen 1.7.1