summaryrefslogtreecommitdiff
path: root/argv-array.h
diff options
context:
space:
mode:
Diffstat (limited to 'argv-array.h')
-rw-r--r--argv-array.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/argv-array.h b/argv-array.h
index b93a69c36c..40248d424c 100644
--- a/argv-array.h
+++ b/argv-array.h
@@ -16,6 +16,9 @@ void argv_array_push(struct argv_array *, const char *);
__attribute__((format (printf,2,3)))
void argv_array_pushf(struct argv_array *, const char *fmt, ...);
void argv_array_pushl(struct argv_array *, ...);
+void argv_array_pop(struct argv_array *);
void argv_array_clear(struct argv_array *);
+const char **argv_array_detach(struct argv_array *array, int *argc);
+void argv_array_free_detached(const char **argv);
#endif /* ARGV_ARRAY_H */