cache: wrapped namedb_t+txn into structure, counters
this prepares cache/txn structures to hold API as well, so we can get rid of the global api
Showing
- daemon/bindings.c 7 additions, 14 deletionsdaemon/bindings.c
- daemon/engine.c 1 addition, 2 deletionsdaemon/engine.c
- lib/cache.c 45 additions, 28 deletionslib/cache.c
- lib/cache.h 35 additions, 12 deletionslib/cache.h
- lib/layer/pktcache.c 6 additions, 6 deletionslib/layer/pktcache.c
- lib/layer/rrcache.c 10 additions, 10 deletionslib/layer/rrcache.c
- lib/resolve.c 2 additions, 2 deletionslib/resolve.c
- lib/resolve.h 2 additions, 1 deletionlib/resolve.h
- lib/zonecut.c 3 additions, 3 deletionslib/zonecut.c
- lib/zonecut.h 1 addition, 1 deletionlib/zonecut.h
- modules/README.rst 1 addition, 1 deletionmodules/README.rst
- modules/cachectl/cachectl.c 6 additions, 6 deletionsmodules/cachectl/cachectl.c
- tests/test_cache.c 83 additions, 67 deletionstests/test_cache.c
- tests/test_integration.c 2 additions, 2 deletionstests/test_integration.c
Please register or sign in to comment