summaryrefslogtreecommitdiffstats
path: root/common/collection/collection_ut.c
Commit message (Collapse)AuthorAgeFilesLines
* FORMATTING - minor cleanup of the unit test.Dmitri Pal2009-07-021-254/+283
| | | | | | | | | | | | | This patch adds formatting changes to better follow the style guidelines in the collection unit test. No logical changes to the code. I was planning to do it for a while per Simo's comment when he accepted the core of the collection code but indicated that the unit test should be cleaned later. Later has come.
* Adding INSERT into collection functionality.Dmitri Pal2009-07-011-7/+162
| | | | | | | | | Add was always insterting at the end of the collection. With this change one can control where the item is inserted and deal with the duplicates too. Also one now can extract items from collection using absolute and relative disposition. Using more advanced hashing function.
* Fixing memory issues in ini and collectionDmitri Pal2009-04-141-6/+9
| | | | | | | The read_line() function used an internal buffer allocated on stack as temporary storage for a line read from file, then returned it. read_line() now gets a buffer from the caller. Fixed memory leaks in INI and Collection found by valgrind.
* Clean up a lot of warnings in Collection and INI parserStephen Gallagher2009-04-061-4/+1
|
* First commit of basic collection API.Dmitri Pal2009-04-061-0/+712