2005-08-15 11:54:31 +08:00
|
|
|
/* $Id: text.h,v 1.4 2005-08-15 03:54:31 rjkaes Exp $
|
2002-05-23 12:42:30 +08:00
|
|
|
*
|
|
|
|
* See 'text.c' for a detailed description.
|
|
|
|
*
|
2005-07-13 01:39:44 +08:00
|
|
|
* Copyright (C) 2002 Robert James Kaes (rjkaes@users.sourceforge.net)
|
2002-05-23 12:42:30 +08:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2, or (at your option) any
|
|
|
|
* later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TINYPROXY_TEXT_H
|
|
|
|
#define TINYPROXY_TEXT_H
|
|
|
|
|
|
|
|
#ifndef HAVE_STRLCAT
|
|
|
|
extern size_t strlcat(char *dst, const char *src, size_t size);
|
2005-08-15 11:54:31 +08:00
|
|
|
#endif /* HAVE_STRLCAT */
|
2002-05-23 12:42:30 +08:00
|
|
|
|
|
|
|
#ifndef HAVE_STRLCPY
|
|
|
|
extern size_t strlcpy(char *dst, const char *src, size_t size);
|
2005-08-15 11:54:31 +08:00
|
|
|
#endif /* HAVE_STRLCPY */
|
2002-05-23 12:42:30 +08:00
|
|
|
|
2003-03-13 13:20:06 +08:00
|
|
|
extern ssize_t chomp(char *buffer, size_t length);
|
2002-05-23 12:42:30 +08:00
|
|
|
|
|
|
|
#endif
|