add sigar_cache decls

This commit is contained in:
Doug MacEachern 2004-12-05 21:09:14 +00:00
parent 6852882203
commit 67f1b3a6a3
1 changed files with 7 additions and 0 deletions

View File

@ -83,4 +83,11 @@ typedef struct {
void (*free_value)(void *ptr); void (*free_value)(void *ptr);
} sigar_cache_t; } 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 */ #endif /* SIGAR_UTIL_H */