aboutsummaryrefslogtreecommitdiff
path: root/src/stringutils.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-13 16:13:06 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-13 16:13:06 +0200
commit9566646cd54a34c0dfe2dbdd89ee3858372a6c28 (patch)
tree1aa3942cb421b2fc90426b8e0984120511128a9d /src/stringutils.h
parentae0520e57267dbd866fc8cd25f66f4e6af2ac118 (diff)
Move string utils to their own file
Diffstat (limited to 'src/stringutils.h')
-rw-r--r--src/stringutils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stringutils.h b/src/stringutils.h
new file mode 100644
index 0000000..a14d76c
--- /dev/null
+++ b/src/stringutils.h
@@ -0,0 +1,9 @@
+#ifndef STRINGUTILS_H
+#define STRINGUTILS_H
+
+void string_replace(char *str, char old_char, char new_char);
+char* lstrip(char *str);
+void rstrip(char *str);
+char* strip(char *str);
+
+#endif