diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-05-16 02:23:45 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-05-16 02:23:45 +0200 |
commit | 712a0e5ff36e5ba052c5d1accf5f5943be4a6e8a (patch) | |
tree | 1017bf2e92d1a66507c96abd05ee4063c6c1d647 /include/inspstring.h | |
parent | 01a796e239d23064f428698d36aa5f27efb5454b (diff) |
Get rid of strlcpy(), strlcat(), charlcat() and charremove()
Diffstat (limited to 'include/inspstring.h')
-rw-r--r-- | include/inspstring.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/inspstring.h b/include/inspstring.h index 7a433427a..6864245b0 100644 --- a/include/inspstring.h +++ b/include/inspstring.h @@ -24,26 +24,6 @@ #include "config.h" #include <cstring> -#ifndef HAS_STRLCPY -/** strlcpy() implementation for systems that don't have it (linux) */ -CoreExport size_t strlcpy(char *dst, const char *src, size_t siz); -/** strlcat() implementation for systems that don't have it (linux) */ -CoreExport size_t strlcat(char *dst, const char *src, size_t siz); -#endif - -/** charlcat() will append one character to a string using the same - * safety scemantics as strlcat(). - * @param x The string to operate on - * @param y the character to append to the end of x - * @param z The maximum allowed length for z including null terminator - */ -CoreExport int charlcat(char* x,char y,int z); -/** charremove() will remove all instances of a character from a string - * @param mp The string to operate on - * @param remove The character to remove - */ -CoreExport bool charremove(char* mp, char remove); - /** Binary to hexadecimal conversion */ CoreExport std::string BinToHex(const std::string& data); /** Base64 encode */ |