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

The key for an entry in the cache. More...

Collaboration diagram for cache_entry_key:
Collaboration graph
[legend]

Data Fields

unsigned int hash
 
const char * id
 
struct stasis_message_typetype
 

Detailed Description

The key for an entry in the cache.

Note
The items in this struct must be immutable for the item in the cache

Definition at line 164 of file stasis_cache.c.

Field Documentation

◆ hash

unsigned int hash

The hash, computed from type and id

Definition at line 170 of file stasis_cache.c.

Referenced by cache_entry_compute_hash(), cache_entry_hash(), and print_cache_entry().

◆ id

const char* id

The unique ID of the item stored in the cache

Definition at line 168 of file stasis_cache.c.

Referenced by cache_entry_cmp(), cache_entry_compute_hash(), cache_entry_create(), cache_entry_dtor(), cache_find(), Model::load(), and print_cache_entry().

◆ type

struct stasis_message_type* type

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