summaryrefslogtreecommitdiff
path: root/userland/libc/include/tb/sv.h
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/include/tb/sv.h')
-rw-r--r--userland/libc/include/tb/sv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/userland/libc/include/tb/sv.h b/userland/libc/include/tb/sv.h
index 6e81b0b..54ec218 100644
--- a/userland/libc/include/tb/sv.h
+++ b/userland/libc/include/tb/sv.h
@@ -21,6 +21,11 @@ struct sv sv_split_delim(const struct sv input, struct sv *rest, char delim);
struct sv sv_end_split_delim(const struct sv input, struct sv *rest,
char delim);
struct sv sv_split_space(const struct sv input, struct sv *rest);
+struct sv sv_skip_chars(const struct sv input, const char *chars);
+struct sv sv_split_function(const struct sv input, struct sv *rest,
+ int (*function)(int));
+struct sv sv_take(struct sv s, struct sv *rest, size_t n);
+struct sv sv_next(struct sv s);
int sv_isempty(struct sv s);
char sv_peek(struct sv s);
int sv_eq(struct sv a, struct sv b);