diff --git a/include/sigar_util.h b/include/sigar_util.h index 754f549b..36049eeb 100644 --- a/include/sigar_util.h +++ b/include/sigar_util.h @@ -83,4 +83,11 @@ typedef struct { void (*free_value)(void *ptr); } sigar_cache_t; +sigar_cache_t *sigar_cache_new(int size); + +sigar_cache_entry_t *sigar_cache_get(sigar_cache_t *table, + sigar_uint64_t key); + +void sigar_cache_destroy(sigar_cache_t *table); + #endif /* SIGAR_UTIL_H */