diff options
author | Campus <campus@ntop.org> | 2018-02-16 22:08:21 +0100 |
---|---|---|
committer | Campus <campus@ntop.org> | 2018-02-16 22:08:21 +0100 |
commit | 16e57f64cdb69796e8da0f66d6f9dbea10c7e5fe (patch) | |
tree | b7df880d00caa3ee7e58d8c96d5072f16265beeb /src/lib/third_party/include/libcache.h | |
parent | 9e47e49adef21b3f1b05898c90038477b277bbaf (diff) | |
parent | c3f5307a3d343edef27fb294de24121f09ae167a (diff) |
Merge branch 'libcache' of https://github.com/vel21ripn/nDPI into vel21ripn-libcache
Diffstat (limited to 'src/lib/third_party/include/libcache.h')
-rw-r--r-- | src/lib/third_party/include/libcache.h | 6 |
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 |