diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-29 23:07:18 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-29 23:07:18 +0000 |
commit | e5f5b81d65a5ed9b34910a58707b870d677c6183 (patch) | |
tree | 6e87cfda96222560751e200ca5ef7dd8d7cd65f4 /src/caches/dcache_search.c | |
parent | 5b063a4db3e631d40c05b77ecc7554ebdf5fff92 (diff) | |
download | s6-dns-e5f5b81d65a5ed9b34910a58707b870d677c6183.tar.xz |
Refactor libdcache, expose dcache_clean_expired()
Diffstat (limited to 'src/caches/dcache_search.c')
-rw-r--r-- | src/caches/dcache_search.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/caches/dcache_search.c b/src/caches/dcache_search.c index 0c1894a..7ca8324 100644 --- a/src/caches/dcache_search.c +++ b/src/caches/dcache_search.c @@ -2,12 +2,10 @@ #include <stdint.h> -#include <skalibs/gensetdyn.h> #include <skalibs/avltree.h> #include <s6-dns/dcache.h> - -#define DNODE(z, i) GENSETDYN_P(dcache_node_t, &(z)->storage, i) +#include "dcache-internal.h" dcache_node_t *dcache_search (dcache_t *z, char const *key, uint16_t keylen) { |