summaryrefslogtreecommitdiffstats
path: root/include/strvec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/strvec.h')
-rw-r--r--include/strvec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/strvec.h b/include/strvec.h
index b28980e..49658eb 100644
--- a/include/strvec.h
+++ b/include/strvec.h
@@ -58,6 +58,11 @@ const char **strvec_popn(struct strvec *strvec, size_t n);
static inline const char *strvec_pop(struct strvec *strvec);
void strvec_replace(struct strvec *strvec, size_t index, const char *str);
void strvec_remove(struct strvec *strvec, size_t index, size_t n);
+int strvec_remove_str(struct strvec *strvec, const char *str,
+ const struct allocator *allocator);
+
+char *strvec_join(struct strvec *strvec, const char *sep,
+ const struct allocator *allocator, int *rc);
const char **strvec_iter_fwd(const struct strvec *strvec, const char **p);
const char **strvec_iter_bwd(const struct strvec *strvec, const char **p);