summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index a602550..16fc0a7 100644
--- a/cache.h
+++ b/cache.h
@@ -55,6 +55,8 @@ typedef struct {
size_t bufsize;
/** The capacity of the list of elements */
int freetotal;
+ /** Total malloc'ed objects */
+ int total;
/** The current number of free elements */
int freecurr;
/** The constructor to be called each time we allocate more memory */