summaryrefslogtreecommitdiff
path: root/src/libdcache/dcache-internal.h
blob: 49ec504568cedc4ddfcb1236b837d9bbab38640f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ISC license. */

#ifndef DCACHE_INTERNAL_H
#define DCACHE_INTERNAL_H

#include <stdint.h>

#include <skalibs/tai.h>
#include <skalibs/avlnode.h>
#include <skalibs/gensetdyn.h>

#include <shibari/dcache.h>

#define DNODE(z, i) GENSETDYN_P(dcache_node, &(z)->storage, i)
#define DCACHE_NODE_OVERHEAD (32 + sizeof(dcache_node) + 3 * sizeof(avlnode))

extern void dcache_delete (dcache *, uint32_t) ;

#endif