summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/plhashtable.rst
blob: 70bad3aebed7664474a58effe84cc33bc83a26ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Syntax
------

.. code::

   #include <plhash.h>

   typedef struct PLHashTable PLHashTable;


Description
-----------

The opaque ``PLHashTable`` structure represents a hash table. Entries in
the table have the type ``PLHashEntry`` and are organized into buckets.
The number of buckets in a hash table may be changed by the library
functions during the lifetime of the table to optimize speed and space.

A new hash table is created by the :ref:`PL_NewHashTable` function, and
destroyed by the :ref:`PL_HashTableDestroy` function.