summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r--src/utils/stringutils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h
index 8b8b7bc2..872a8f52 100644
--- a/src/utils/stringutils.h
+++ b/src/utils/stringutils.h
@@ -65,4 +65,12 @@ template<typename T> std::string toString(const T &arg)
*/
const char *ipToString(int address);
+/**
+ * Removes bad characters from a string
+ *
+ * @param str the string to remove the bad chars from
+ * @return a reference to the string without bad chars
+ */
+std::string &removeBadChars(std::string &str);
+
#endif // UTILS_STRINGUTILS_H