diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-04 21:30:40 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-04 21:30:40 -0400 |
commit | 542ef0c77700e67a95fcd08b5f305d1ab42046e1 (patch) | |
tree | 17333ebc1a65a28b9538de2da9264a45fc0cf9a9 /sway/stringop.h | |
parent | 6a33e1e3cddac31b762e4376e29c03ccf8f92107 (diff) |
Pull in some scas code and read i3 config file
Diffstat (limited to 'sway/stringop.h')
-rw-r--r-- | sway/stringop.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sway/stringop.h b/sway/stringop.h new file mode 100644 index 00000000..74f34ebf --- /dev/null +++ b/sway/stringop.h @@ -0,0 +1,13 @@ +#ifndef _SWAY_STRINGOP_H +#define _SWAY_STRINGOP_H +#include "list.h" + +char *strip_whitespace(char *str, int *trimmed_start); +char *strip_comments(char *str); +list_t *split_string(const char *str, const char *delims); +void free_flat_list(list_t *list); +char *code_strchr(const char *string, char delimiter); +char *code_strstr(const char *haystack, const char *needle); +int unescape_string(char *string); + +#endif |