hash_tables.rst (1120B)
1 This chapter describes the hash table functions in the plds (portable 2 library — data structures) library of NSPR. The hash table library 3 functions are declared in the header file ``plhash.h.`` 4 5 .. warning:: 6 7 **Warning**: The NSPR hash table library functions are not thread 8 safe. 9 10 A hash table lookup may change the internal organization of the hash 11 table (to speed up future lookups). 12 13 - `Hash Table Types and Constants <#Hash_Table_Types_and_Constants>`__ 14 - `Hash Table Functions <#Hash_Table_Functions>`__ 15 16 .. _Hash_Table_Types_and_Constants: 17 18 Hash Table Types and Constants 19 ------------------------------ 20 21 - :ref:`PLHashEntry` 22 - :ref:`PLHashTable` 23 - :ref:`PLHashNumber` 24 - :ref:`PLHashFunction` 25 - :ref:`PLHashComparator` 26 - :ref:`PLHashEnumerator` 27 - :ref:`PLHashAllocOps` 28 29 .. _Hash_Table_Functions: 30 31 Hash Table Functions 32 -------------------- 33 34 - :ref:`PL_NewHashTable` 35 - :ref:`PL_HashTableDestroy` 36 - :ref:`PL_HashTableAdd` 37 - :ref:`PL_HashTableRemove` 38 - :ref:`PL_HashTableLookup` 39 - :ref:`PL_HashTableEnumerateEntries` 40 - :ref:`PL_HashString` 41 - :ref:`PL_CompareStrings` 42 - :ref:`PL_CompareValues`