summaryrefslogtreecommitdiffstats
path: root/src/libnetdata/aral/aral.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnetdata/aral/aral.h')
-rw-r--r--src/libnetdata/aral/aral.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libnetdata/aral/aral.h b/src/libnetdata/aral/aral.h
index 2e749bc4c..4cd21d17a 100644
--- a/src/libnetdata/aral/aral.h
+++ b/src/libnetdata/aral/aral.h
@@ -28,11 +28,11 @@ struct aral_statistics {
};
ARAL *aral_create(const char *name, size_t element_size, size_t initial_page_elements, size_t max_page_size,
- struct aral_statistics *stats, const char *filename, char **cache_dir, bool mmap, bool lockless);
+ struct aral_statistics *stats, const char *filename, const char **cache_dir, bool mmap, bool lockless);
size_t aral_element_size(ARAL *ar);
size_t aral_overhead(ARAL *ar);
size_t aral_structures(ARAL *ar);
-struct aral_statistics *aral_statistics(ARAL *ar);
+struct aral_statistics *aral_get_statistics(ARAL *ar);
size_t aral_structures_from_stats(struct aral_statistics *stats);
size_t aral_overhead_from_stats(struct aral_statistics *stats);