bind9/lib/ns
Evan Hunt 81f58e2ea2 enable modules to store data in qctx
- added a 'hookdata' array to qctx to store pointers to up to
  16 blobs of data which are allocated by modules as needed.
  each module is assigned an ID number as it's loaded, and this
  is the index into the hook data array. this is to be used for
  holding persistent state between calls to a hook module for a
  specific query.
- instead of using qctx->filter_aaaa, we now use qctx->hookdata.
  (this was the last piece of filter-aaaa specific code outside the
  module.)
- added hook points for qctx initialization and destruction. we get
  a filter-aaaa data pointer from the mempool when initializing and
  store it in the qctx->hookdata table; return to to the mempool
  when destroying the qctx.
- link the view to the qctx so that detaching the client doesn't cause
  hooks to fail
- added a qctx_destroy() function which must be called after qctx_init;
  this calls the QCTX_DESTROY hook and detaches the view
- general cleanup and comments
2018-12-06 10:29:11 -08:00
..
include enable modules to store data in qctx 2018-12-06 10:29:11 -08:00
tests enable modules to store data in qctx 2018-12-06 10:29:11 -08:00
win32 initial implementation of filter-aaaa.so as a shared object 2018-12-06 10:29:10 -08:00
api prep 9.13.4 2018-11-22 00:20:22 +00:00
client.c enable modules to store data in qctx 2018-12-06 10:29:11 -08:00
hooks.c enable modules to store data in qctx 2018-12-06 10:29:11 -08:00
interfacemgr.c - Make isc_mutex_destroy return void 2018-11-22 11:52:08 +00:00
Kyuafile regen master 2017-12-29 01:44:18 +00:00
lib.c isc_mutex_init returns 'void' 2018-11-22 11:51:49 +00:00
listenlist.c Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
log.c set up hooks.c to enable setting hook points and loading modules 2018-12-06 10:29:05 -08:00
Makefile.in move filter-aaaa.so build from lib/ns to bin/hooks 2018-12-06 10:29:11 -08:00
notify.c Define a separate dns_zonetype_t for mirror zones 2018-10-24 20:32:55 +02:00
query.c enable modules to store data in qctx 2018-12-06 10:29:11 -08:00
server.c initial implementation of filter-aaaa.so as a shared object 2018-12-06 10:29:10 -08:00
sortlist.c remove the experimental authoritative ECS support from named 2018-05-25 08:21:25 -07:00
stats.c - Make isc_mutex_destroy return void 2018-11-22 11:52:08 +00:00
update.c Remove last traces of DSA and NSEC3DSA algorithm, but restore the algnumber -> name mapping 2018-10-26 11:50:11 +02:00
version.c address win32 build issues 2018-05-22 16:32:21 -07:00
xfrout.c Hint the compiler with ISC_UNREACHABLE(); that code after INSIST(0); cannot be reached 2018-11-08 12:22:17 +07:00