[Freeipa-devel] [PATCH] Improvements to collection API

Dmitri Pal dpal at redhat.com
Mon Jun 29 15:45:25 UTC 2009


Collection improvements:

1) In the first implementation the collection elements we always added
to the end of the collection.  There was no way to insert elements in a
specific places in the collection.
Now there is.  The original implementation of add_xxx_property functions
is wrapped around new insert_xxx_property functions.
2) As as pair to the insert functionality  there is now an extract
functionality also added in this patch. The extraction allows getting
specific item from the existing collection and operating with it.
3) Collection.h has a lot of comments describing the meaning and use of
different flags.
4) Unit test was updated
5) Valgrind tests were run using unit test.

-- 
Thank you,
Dmitri Pal

Engineering Manager IPA project,
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adding-INSERT-into-collection-functionality.patch
Type: text/x-patch
Size: 173081 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090629/c0634a95/attachment.bin>


More information about the Freeipa-devel mailing list