summaryrefslogtreecommitdiffstats
path: root/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/buffer.h b/buffer.h
index 3190229..577041c 100644
--- a/buffer.h
+++ b/buffer.h
@@ -234,10 +234,14 @@ int openvpn_snprintf(char *str, size_t size, const char *format, ...)
* to execve.
*/
void argv_init (struct argv *a);
+struct argv argv_new (void);
void argv_reset (struct argv *a);
size_t argv_argc (const char *format);
char *argv_term (const char **f);
const char *argv_str (const struct argv *a, struct gc_arena *gc, const unsigned int flags);
+struct argv argv_insert_head (const struct argv *a, const char *head);
+void argv_msg (const int msglev, const struct argv *a);
+void argv_msg_prefix (const int msglev, const struct argv *a, const char *prefix);
#define APA_CAT (1<<0) /* concatentate onto existing struct argv list */
void argv_printf_arglist (struct argv *a, const char *format, const unsigned int flags, va_list arglist);