aboutsummaryrefslogtreecommitdiff
path: root/ssh/string_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssh/string_view.h')
-rw-r--r--ssh/string_view.h3
1 files changed, 3 insertions, 0 deletions
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);