add sigar_cache decls
This commit is contained in:
parent
6852882203
commit
67f1b3a6a3
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue