From b5f5fdefbbee3ae75bb032774263885c46d63a7f Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 13 Jul 2020 19:26:17 +0200 Subject: ssh/client: More ergonomic interface with / commands and focusing --- ssh/string_view.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ssh/string_view.h') diff --git a/ssh/string_view.h b/ssh/string_view.h index 659dad4..6c3f47a 100644 --- a/ssh/string_view.h +++ b/ssh/string_view.h @@ -33,3 +33,6 @@ struct string_view sv_tokenise_word(struct string_view *line); // Skips all isspace() at the beginning of the string void sv_skip_whitespace(struct string_view *line); + +// Skips the given number of characters +void sv_skip(struct string_view *line, size_t num); -- cgit v1.2.3-54-g00ecf