project_files/frontlib/util/util.h
changeset 7269 5b0aeef8ba2a
parent 7230 240620f46dd7
child 7275 15f722e0b96f
--- a/project_files/frontlib/util/util.h	Tue Jun 19 21:20:08 2012 +0200
+++ b/project_files/frontlib/util/util.h	Thu Jun 21 21:32:12 2012 +0200
@@ -19,6 +19,12 @@
 char *flib_vasprintf(const char *fmt, va_list args);
 
 /**
+ * Creates a new string (that must be freed) containing all parts
+ * joined together, with the specified delimiter between each.
+ */
+char *flib_join(char **parts, int partCount, const char *delimiter);
+
+/**
  * Return a duplicate of the provided string, or NULL if an error
  * occurs or if str is already NULL.
  *