<trclass="memdesc:aeb007cfa604b485f120ec1f7526c95f4"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Null-terminated key string (unique within the cache). May encode numeric keys. <br/></td></tr>
<trclass="memdesc:a7d6d1ed0aab03cffbb34aff16f6f3d56"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Opaque value pointer associated with key (not freed automatically on eviction/clear). <br/></td></tr>
<trclass="memdesc:ae7e5f03fa52b88d99e27e2433623b4f5"><tdclass="mdescLeft"> </td><tdclass="mdescRight">uthash handle linking this entry into the hash table (must remain last or per uthash docs). <br/></td></tr>
<divclass="textblock"><p>Single hash entry in the in-memory cache. </p>
<p>This structure is managed by uthash (open addressing with chaining semantics provided by macros). It represents one key/value association tracked by the cache. The cache implementation supports both string keys (null-terminated) and 64-bit numeric keys; numeric keys are stored by casting to a temporary string buffer upstream (see implementation). Callers do not allocate or free individual entries directly; use the cache API helpers.</p>
<p>Lifetime & ownership:</p><ul>
<li>key points either to a heap-allocated C string owned by the cache or to a short-lived buffer duplicated internally; callers must not free it after insertion.</li>
<li>value is an opaque pointer supplied by caller; the cache does not take ownership of the pointee (caller remains responsible for the underlying object unless documented otherwise). </li>
</ul>
<pclass="definition">Definition at line <aclass="el"href="lru_8h_source.html#l00026">26</a> of file <aclass="el"href="lru_8h_source.html">lru.h</a>.</p>
<p>uthash handle linking this entry into the hash table (must remain last or per uthash docs). </p>
<pclass="definition">Definition at line <aclass="el"href="lru_8h_source.html#l00030">30</a> of file <aclass="el"href="lru_8h_source.html">lru.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="lru_8c_source.html#l00047">add_to_cache()</a>, <aclass="el"href="lru_8c_source.html#l00024">find_in_cache()</a>, and <aclass="el"href="lru_8c_source.html#l00130">free_cache()</a>.</p>
<p>Null-terminated key string (unique within the cache). May encode numeric keys. </p>
<pclass="definition">Definition at line <aclass="el"href="lru_8h_source.html#l00028">28</a> of file <aclass="el"href="lru_8h_source.html">lru.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="lru_8c_source.html#l00047">add_to_cache()</a>, <aclass="el"href="lru_8c_source.html#l00113">add_to_cache_uint64()</a>, <aclass="el"href="lru_8c_source.html#l00024">find_in_cache()</a>, <aclass="el"href="lru_8c_source.html#l00093">find_in_cache_uint64()</a>, and <aclass="el"href="lru_8c_source.html#l00130">free_cache()</a>.</p>
<p>Opaque value pointer associated with key (not freed automatically on eviction/clear). </p>
<pclass="definition">Definition at line <aclass="el"href="lru_8h_source.html#l00029">29</a> of file <aclass="el"href="lru_8h_source.html">lru.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="lru_8c_source.html#l00047">add_to_cache()</a>, <aclass="el"href="lru_8c_source.html#l00113">add_to_cache_uint64()</a>, <aclass="el"href="lru_8c_source.html#l00024">find_in_cache()</a>, and <aclass="el"href="lru_8c_source.html#l00130">free_cache()</a>.</p>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.15.0 </li>