aboutsummaryrefslogtreecommitdiff
path: root/src/lib/third_party/include/libcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/third_party/include/libcache.h')
-rw-r--r--src/lib/third_party/include/libcache.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/third_party/include/libcache.h b/src/lib/third_party/include/libcache.h
index 53632616e..7f84b89ad 100644
--- a/src/lib/third_party/include/libcache.h
+++ b/src/lib/third_party/include/libcache.h
@@ -29,6 +29,10 @@ SOFTWARE.
#include <stdint.h>
+typedef struct cache_entry *cache_entry;
+
+typedef struct cache_entry_map *cache_entry_map;
+
/**
* @brief Codes representing the result of some functions
*
@@ -99,5 +103,7 @@ cache_result cache_remove(cache_t cache, void *item, uint32_t item_size);
*/
void cache_free(cache_t cache);
+cache_entry cache_entry_new(void);
+cache_entry_map cache_entry_map_new(void);
#endif