| 30 | } |
| 31 | |
| 32 | static inline void get_cache_state(cache_t *cache, cache_stat_t *cache_state) { |
| 33 | if (cache->hashtable->n_obj == 0) return; |
| 34 | |
| 35 | hashtable_foreach(cache->hashtable, _get_cache_state_ht_iter, cache_state); |
| 36 | } |
| 37 | |
| 38 | #ifdef __cplusplus |
| 39 | } |