diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-04-10 11:30:59 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-04-10 16:59:24 -0400 |
commit | 24967bd826ad5437a11b1431c8289b1881b52a17 (patch) | |
tree | 2bd20ac84fcba597abc0e492e23ccebb3940b340 /common/collection/collection_tools.h | |
parent | baf568c235c4f8e6e733c47bc0c76bf84b55b9b0 (diff) | |
download | sssd-24967bd826ad5437a11b1431c8289b1881b52a17.tar.gz sssd-24967bd826ad5437a11b1431c8289b1881b52a17.tar.bz2 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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/collection/collection_tools.h b/common/collection/collection_tools.h index defc4aa0..a8d13f74 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 |