Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dhash: add stddef.h to dhash.h | Sumit Bose | 2010-10-12 | 1 | -0/+1 |
| | | | | | size_t is used in dhash.h and was currently not defined by any included header file. | ||||
* | Properly license libdhash | Stephen Gallagher | 2010-02-18 | 1 | -0/+24 |
| | |||||
* | License libdhash under the LGPL | Stephen Gallagher | 2010-01-20 | 1 | -0/+5 |
| | |||||
* | Add comments to document latest changes | Simo Sorce | 2009-12-08 | 1 | -0/+7 |
| | |||||
* | dhash: Add private pointer for delete callback | Simo Sorce | 2009-12-08 | 1 | -3/+12 |
| | | | | | Also pass a flag to the delete callback to tell it if this is a normal entry removal or we are cleaning up the tbale definitively. | ||||
* | Change dhash API to be talloc-friendly | Simo Sorce | 2009-12-08 | 1 | -7/+11 |
| | |||||
* | Clean up warnings in common/ | Simo Sorce | 2009-07-03 | 1 | -1/+1 |
| | | | | Fix consts and function declarations | ||||
* | add dynamic hash table data structure implementation | John Dennis | 2009-04-22 | 1 | -0/+342 |
Apply suggested fixes by Simo after code review * return statements no longer use () unless it's an expression * remove all use of assert() in library * use bool,true,false instead of int,TRUE,FALSE * add check for NULL hash table in public entry points * example code in header file now a seperate file * assure consistent use of unsigned long data type * add more debugging support * break out generation of integer key into convert_key() function * table parameters now tunable rather than hardcoded * table can now accept custom alloc()/free() functions * add function create_table_ex() to pass extra table parameters * remove MUL(), DIV(), MOD() macros * hash statistics now separate struct which can be queried * test program now accepts tuning parameters, iteration count; has better error checking and reporting fix min/max load factor comman line args in test program |