From 5ecb8aafa496e9dfff51378be50eb29858b5465a Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 15 Feb 2023 16:35:40 +0100 Subject: add quote parsing to smash --- lib/cstr/cstr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/cstr/cstr.h') 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); -- cgit v1.2.3-70-g09d2