Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
hash_traversal_state Struct Reference

Data Fields

void * arg
 
int bucket_last
 
int bucket_start
 
unsigned int descending:1
 
enum search_flags flags
 
ao2_sort_fnsort_fn
 

Detailed Description

Traversal state to restart a hash container traversal.

Definition at line 79 of file astobj2_hash.c.

Field Documentation

◆ arg

void* arg

Saved comparison callback arg pointer.

Definition at line 83 of file astobj2_hash.c.

Referenced by hash_ao2_find_first(), and hash_ao2_find_next().

◆ bucket_last

int bucket_last

Stopping hash bucket

Definition at line 87 of file astobj2_hash.c.

Referenced by hash_ao2_find_first(), and hash_ao2_find_next().

◆ bucket_start

int bucket_start

Starting hash bucket

Definition at line 85 of file astobj2_hash.c.

Referenced by hash_ao2_find_first().

◆ descending

unsigned int descending

TRUE if it is a descending search

Definition at line 91 of file astobj2_hash.c.

Referenced by hash_ao2_find_first(), and hash_ao2_find_next().

◆ flags

enum search_flags flags

Saved search flags to control traversing the container.

Definition at line 89 of file astobj2_hash.c.

Referenced by hash_ao2_find_first(), and hash_ao2_find_next().

◆ sort_fn

ao2_sort_fn* sort_fn

Active sort function in the traversal if not NULL.

Definition at line 81 of file astobj2_hash.c.

Referenced by hash_ao2_find_first(), and hash_ao2_find_next().


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