]> git.ipfire.org Git - thirdparty/bind9.git/commit
refactor to support multiple module instances
authorEvan Hunt <each@isc.org>
Thu, 1 Nov 2018 02:02:29 +0000 (19:02 -0700)
committerEvan Hunt <each@isc.org>
Thu, 6 Dec 2018 18:29:12 +0000 (10:29 -0800)
commitb94945e60663fb2a3d6641ea41d720500fb39fb4
treeffd4fc26ddbb0a1a03bedff01db683b72665b383
parent9df0bdc99c154a917bbfb20c1fed47c1818e769d
refactor to support multiple module instances

- use a per-view module list instead of global hook_modules
- create an 'instance' pointer when registering modules, store it in
  the module structure, and use it as action_data when calling
  hook functions - this enables multiple module instances to be set
  up in parallel
- also some nomenclature changes and cleanup
bin/hooks/filter-aaaa.c
bin/named/server.c
lib/dns/include/dns/view.h
lib/dns/view.c
lib/ns/hooks.c
lib/ns/include/ns/hooks.h
lib/ns/include/ns/types.h
lib/ns/win32/libns.def