diff options
Diffstat (limited to 'include/stringop.h')
-rw-r--r-- | include/stringop.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/stringop.h b/include/stringop.h new file mode 100644 index 00000000..a5346829 --- /dev/null +++ b/include/stringop.h | |||
@@ -0,0 +1,14 @@ | |||
1 | #ifndef _SWAY_STRINGOP_H | ||
2 | #define _SWAY_STRINGOP_H | ||
3 | #include "list.h" | ||
4 | |||
5 | char *strip_whitespace(char *str, int *trimmed_start); | ||
6 | char *strip_comments(char *str); | ||
7 | list_t *split_string(const char *str, const char *delims); | ||
8 | void free_flat_list(list_t *list); | ||
9 | char *code_strchr(const char *string, char delimiter); | ||
10 | char *code_strstr(const char *haystack, const char *needle); | ||
11 | int unescape_string(char *string); | ||
12 | char *join_args(char **argv, int argc); | ||
13 | |||
14 | #endif | ||