ao2_container_hash Struct Reference

Collaboration diagram for ao2_container_hash:

Collaboration graph

Data Fields

struct hash_bucket buckets [0]
struct ao2_container common
 Items common to all containers.
int n_buckets

Detailed Description

A hash container in addition to values common to all container types, stores the hash callback function, the number of hash buckets, and the hash bucket heads.

Definition at line 67 of file astobj2_hash.c.

Field Documentation

struct hash_bucket buckets[0] [read]

Hash bucket array of n_buckets. Variable size.

Definition at line 77 of file astobj2_hash.c.

Referenced by hash_ao2_node_destructor().

struct ao2_container common [read]

Items common to all containers.

Must be first in the specific container struct.

Definition at line 72 of file astobj2_hash.c.

Referenced by hash_ao2_node_destructor().

Definition at line 73 of file astobj2_hash.c.

int n_buckets

Number of hash buckets in this container.

Definition at line 75 of file astobj2_hash.c.

The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:34:53 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6