utils: Add new function plist_print_to_stream_with_indentation()
diff --git a/common/utils.c b/common/utils.c
index 58dac02..6fc5cf1 100644
--- a/common/utils.c
+++ b/common/utils.c
@@ -510,13 +510,12 @@
 	}
 }
 
-void plist_print_to_stream(plist_t plist, FILE* stream)
+void plist_print_to_stream_with_indentation(plist_t plist, FILE* stream, unsigned int indentation)
 {
-	int indent = 0;
-
 	if (!plist || !stream)
 		return;
 
+	int indent = indentation;
 	switch (plist_get_node_type(plist)) {
 	case PLIST_DICT:
 		plist_dict_print_to_stream(plist, &indent, stream);
@@ -528,3 +527,9 @@
 		plist_node_print_to_stream(plist, &indent, stream);
 	}
 }
+
+
+void plist_print_to_stream(plist_t plist, FILE* stream)
+{
+	plist_print_to_stream_with_indentation(plist, stream, 0);
+}
diff --git a/common/utils.h b/common/utils.h
index 2c3acec..ad943bb 100644
--- a/common/utils.h
+++ b/common/utils.h
@@ -59,6 +59,7 @@
 int plist_read_from_filename(plist_t *plist, const char *filename);
 int plist_write_to_filename(plist_t plist, const char *filename, enum plist_format_t format);
 
+void plist_print_to_stream_with_indentation(plist_t plist, FILE* stream, unsigned int indentation);
 void plist_print_to_stream(plist_t plist, FILE* stream);
 
 #endif