aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/util.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2023-01-23 20:04:15 +0100
committerPierre Ossman <ossman@cendio.se>2023-02-04 14:03:13 +0100
commit3143bfa1545c2aa70781c5c780df7e66f123614f (patch)
treed1541a4516a248202d7f23ab08be11b7dbc3ed07 /common/rfb/util.h
parent4293dc42f60fff4542162deba616ec99b2d9fd09 (diff)
downloadtigervnc-3143bfa1545c2aa70781c5c780df7e66f123614f.tar.gz
tigervnc-3143bfa1545c2aa70781c5c780df7e66f123614f.zip
Use standard C string functions
It's just confusing that we have our own variety that isn't compatible.
Diffstat (limited to 'common/rfb/util.h')
-rw-r--r--common/rfb/util.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/common/rfb/util.h b/common/rfb/util.h
index 799e0756..1e59de62 100644
--- a/common/rfb/util.h
+++ b/common/rfb/util.h
@@ -34,9 +34,6 @@ struct timeval;
namespace rfb {
- char* strDup(const char* s);
- void strFree(char* s);
-
// Formats according to printf(), with a dynamic allocation
std::string strFormat(const char *fmt, ...)
__attribute__((__format__ (__printf__, 1, 2)));
@@ -45,12 +42,6 @@ namespace rfb {
std::vector<std::string> strSplit(const char* src,
const char delimiter);
- // Returns true if src contains c
- bool strContains(const char* src, char c);
-
- // Copies src to dest, up to specified length-1, and guarantees termination
- void strCopy(char* dest, const char* src, int destlen);
-
// Conversion to and from a hex string
void binToHex(const uint8_t* in, size_t inlen, char* out, size_t outlen);