Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ao2_container_hash Struct Reference

Data Fields

struct hash_bucket buckets [0]
 
struct ao2_container common
 Items common to all containers. More...
 
ao2_hash_fnhash_fn
 
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 65 of file astobj2_hash.c.

Field Documentation

struct hash_bucket buckets[0]

Hash bucket array of n_buckets. Variable size.

Definition at line 75 of file astobj2_hash.c.

struct ao2_container common

Items common to all containers.

Note
Must be first in the specific container struct.

Definition at line 70 of file astobj2_hash.c.

int n_buckets

Number of hash buckets in this container.

Definition at line 73 of file astobj2_hash.c.


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