aboutsummaryrefslogtreecommitdiffstats
path: root/include/stringop.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-08-16 11:02:56 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-08-16 11:02:56 -0400
commit7f8ebb7d0dcb687574554b877a0e84f48718df37 (patch)
tree9a58f9276059d3c88cb3a92d8229a911b33b0faf /include/stringop.h
parentAdd split [h|v|horizontal|vertical] command (diff)
downloadsway-7f8ebb7d0dcb687574554b877a0e84f48718df37.tar.gz
sway-7f8ebb7d0dcb687574554b877a0e84f48718df37.tar.zst
sway-7f8ebb7d0dcb687574554b877a0e84f48718df37.zip
Move headers to include/
Diffstat (limited to 'include/stringop.h')
-rw-r--r--include/stringop.h14
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
5char *strip_whitespace(char *str, int *trimmed_start);
6char *strip_comments(char *str);
7list_t *split_string(const char *str, const char *delims);
8void free_flat_list(list_t *list);
9char *code_strchr(const char *string, char delimiter);
10char *code_strstr(const char *haystack, const char *needle);
11int unescape_string(char *string);
12char *join_args(char **argv, int argc);
13
14#endif