<trclass="memdesc:ad3b962f8ce6c6115143cf581c7936e55"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Hard limit for number of entries (policy: enforce/ignore depends on implementation). <br/></td></tr>
<trclass="memdesc:afeac54c794f8fece845e49954fd89f1a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Optional callback to free cached values. NULL if values don't need freeing. <br/></td></tr>
<divclass="textblock"><p>Cache top-level descriptor encapsulating the hash table root and capacity limit. </p>
<p>The cache enforces an upper bound (max_items) on the number of tracked entries. Insert helpers are expected to evict (or refuse) when the limit is exceeded (strategy defined in implementation; current behavior may be simple non-evicting if not yet implemented as a true LRU). The cache pointer holds the uthash root (NULL when empty).</p>
<p>Fields:</p><ul>
<li>max_items: Maximum number of entries allowed; 0 means "no explicit limit" if accepted by implementation.</li>
<li>cache: uthash root pointer; NULL when the cache is empty. </li>
</ul>
<pclass="definition">Definition at line <aclass="el"href="lru_8h_source.html#l00045">45</a> of file <aclass="el"href="lru_8h_source.html">lru.h</a>.</p>
<pclass="definition">Definition at line <aclass="el"href="lru_8h_source.html#l00048">48</a> of file <aclass="el"href="lru_8h_source.html">lru.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="create_8c_source.html#l00279">aaruf_create()</a>, <aclass="el"href="open_8c_source.html#l00223">aaruf_open()</a>, <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>Optional callback to free cached values. NULL if values don't need freeing. </p>
<pclass="definition">Definition at line <aclass="el"href="lru_8h_source.html#l00049">49</a> of file <aclass="el"href="lru_8h_source.html">lru.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="open_8c_source.html#l00223">aaruf_open()</a>, <aclass="el"href="lru_8c_source.html#l00047">add_to_cache()</a>, and <aclass="el"href="lru_8c_source.html#l00130">free_cache()</a>.</p>
<p>Hard limit for number of entries (policy: enforce/ignore depends on implementation). </p>
<pclass="definition">Definition at line <aclass="el"href="lru_8h_source.html#l00047">47</a> of file <aclass="el"href="lru_8h_source.html">lru.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="create_8c_source.html#l00279">aaruf_create()</a>, <aclass="el"href="open_8c_source.html#l00223">aaruf_open()</a>, and <aclass="el"href="lru_8c_source.html#l00047">add_to_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>