summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index da92ae68c..6bcc9984d 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -332,6 +332,12 @@ int split_on_separator(TALLOC_CTX *mem_ctx, const char *str,
char **parse_args(const char *str);
+
+/* Copy a NULL-terminated string list
+ * Returns NULL on out of memory error or invalid input
+ */
+char **dup_string_list(TALLOC_CTX *memctx, const char **str_list);
+
/* Take two string lists (terminated on a NULL char*)
* and return up to three arrays of strings based on
* shared ownership.