diff options
Diffstat (limited to 'src/libdcache/dcache-internal.h')
-rw-r--r-- | src/libdcache/dcache-internal.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libdcache/dcache-internal.h b/src/libdcache/dcache-internal.h new file mode 100644 index 0000000..7a21044 --- /dev/null +++ b/src/libdcache/dcache-internal.h @@ -0,0 +1,18 @@ +/* ISC license. */ + +#ifndef DCACHE_INTERNAL_H +#define DCACHE_INTERNAL_H + +#include <stdint.h> + +#include <skalibs/avlnode.h> +#include <skalibs/gensetdyn.h> + +#include <shibari/dcache.h> + +#define DNODE(z, i) GENSETDYN_P(dcache_node_t, &(z)->storage, i) +#define DCACHE_NODE_OVERHEAD (32 + sizeof(dcache_node_t) + 3 * sizeof(avlnode)) + +extern void dcache_delete (dcache_t *, uint32_t) ; + +#endif |