]> git.evergreen-ils.org Git - OpenSRF.git/commit
In osrfNewHash(): specify a size for the osrfList used as a hash table,
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 11 Sep 2009 19:38:48 +0000 (19:38 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 11 Sep 2009 19:38:48 +0000 (19:38 +0000)
commit3a15ae113d8c37d7692d7f4bfa85703aefb6ff14
treec0aec1fef0754349a6b5f130d14fcc2a92f74838
parenteea6b70051de23235917674b5d718bbf16b17408
In osrfNewHash(): specify a size for the osrfList used as a hash table,
so as to avoid wasting memory.

In osrfHashSet(): rearranged the logic a bit for clarity; no change in
behavior.

In osrfHashIteratorNext(): added a bit of protection against a corrupted
iterator.

Throughout: added Doxygen-style comments for documentation.  Removed
some comments from the header so that they wouldn't override more
complete comments from the implementation file.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1775 9efc2488-bf62-4759-914b-345cdb29e865
include/opensrf/osrf_hash.h
src/libopensrf/osrf_hash.c