summaryrefslogtreecommitdiff
path: root/libgs/src/string-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgs/src/string-util.h')
-rw-r--r--libgs/src/string-util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libgs/src/string-util.h b/libgs/src/string-util.h
new file mode 100644
index 0000000..6acee6d
--- /dev/null
+++ b/libgs/src/string-util.h
@@ -0,0 +1,10 @@
+#ifndef __GS_STRING_UTIL_H
+#define __GS_STRING_UTIL_H
+
+#include <sys/types.h>
+
+size_t strlcpy(char *dst, const char *src, size_t siz);
+size_t strlcat(char *dst, const char *src, size_t siz);
+char *str_replace(const char *str, const char *old, const char *new);
+
+#endif