summaryrefslogtreecommitdiffstats
path: root/common/collection/collection_tools.h
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2009-04-10 11:30:59 -0400
committerSimo Sorce <ssorce@redhat.com>2009-04-10 16:59:24 -0400
commit24967bd826ad5437a11b1431c8289b1881b52a17 (patch)
tree2bd20ac84fcba597abc0e492e23ccebb3940b340 /common/collection/collection_tools.h
parentbaf568c235c4f8e6e733c47bc0c76bf84b55b9b0 (diff)
downloadsssd-24967bd826ad5437a11b1431c8289b1881b52a17.tar.gz
sssd-24967bd826ad5437a11b1431c8289b1881b52a17.tar.xz
sssd-24967bd826ad5437a11b1431c8289b1881b52a17.zip
Added functions to create list of sections and attributes.
Diffstat (limited to 'common/collection/collection_tools.h')
-rw-r--r--common/collection/collection_tools.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/collection/collection_tools.h b/common/collection/collection_tools.h
index defc4aa04..a8d13f749 100644
--- a/common/collection/collection_tools.h
+++ b/common/collection/collection_tools.h
@@ -98,4 +98,10 @@ int print_collection2(struct collection_item *handle);
/* Find and print one item using default serialization */
int print_item(struct collection_item *handle, char *name);
+/* Convert collection to list of properties */
+char **collection_to_list(struct collection_item *handle, int *size, int *error);
+
+/* Function to free the list of properties. */
+void free_property_list(char **str_list);
+
#endif