1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2007 InspIRCd Development Team
6 * See: http://www.inspircd.org/wiki/index.php/Credits
8 * This program is free but copyrighted software; see
9 * the file COPYING for details.
11 * ---------------------------------------------------
14 #ifndef __IN_INSPSTRING_H
15 #define __IN_INSPSTRING_H
17 #include "inspircd_config.h"
22 CoreExport size_t strlcpy(char *dst, const char *src, size_t siz);
23 CoreExport size_t strlcat(char *dst, const char *src, size_t siz);
26 CoreExport int charlcat(char* x,char y,int z);
27 CoreExport bool charremove(char* mp, char remove);
28 inline char * strnewdup(const char * s1)
30 size_t len = strlen(s1) + 1;
31 char * p = new char[len];