diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-02-15 16:35:40 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-02-15 16:35:40 +0100 |
| commit | 5ecb8aafa496e9dfff51378be50eb29858b5465a (patch) | |
| tree | 312a64f45148d03464c08f309af4a9a46a3f4ec8 /lib/cstr/cstr.h | |
| parent | 0d9c643920a9431870983c896fb0b45d87d88afe (diff) | |
add quote parsing to smash
Diffstat (limited to 'lib/cstr/cstr.h')
| -rw-r--r-- | lib/cstr/cstr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cstr/cstr.h b/lib/cstr/cstr.h index ce27eb0..049c867 100644 --- a/lib/cstr/cstr.h +++ b/lib/cstr/cstr.h @@ -11,6 +11,7 @@ typedef struct { u64 cstr_length(const char *); i8 cstr_compare(const char *a, const char *b); u64 cstr_split(char *cstr, char split); +u64 cstr_split_with_cancel(char *cstr, char split, char cancel); const char *next_split(const char *previous); u64 strip_front(char *cstr, char strip); u64 strip_back(char *cstr, char strip); |