]> git.ipfire.org Git - thirdparty/bind9.git/commit
Stop including gssapi.h from dst/gssapi.h header
authorOndřej Surý <ondrej@isc.org>
Thu, 11 Feb 2021 13:40:59 +0000 (14:40 +0100)
committerMark Andrews <marka@isc.org>
Tue, 16 Feb 2021 01:04:46 +0000 (01:04 +0000)
commita5d2ce79c8a70cddfb3415b80ada4095f4dd462a
treeaca66239ba0663b6ed7f95c553a032496584f719
parent23c3bcc71191ae25d10e45284e7e44f982fcfff4
Stop including gssapi.h from dst/gssapi.h header

The only reason for including the gssapi.h from the dst/gssapi.h header
was to get the typedefs of gss_cred_id_t and gss_ctx_id_t.  Instead of
using those types directly this commit introduces dns_gss_cred_id_t and
dns_gss_ctx_id_t types that are being used in the public API and
privately retyped to their counterparts when we actually call the gss
api.

This also conceals the gssapi headers, so users of the libdns library
doesn't have to add GSSAPI_CFLAGS to the Makefile when including libdns
dst API.
bin/nsupdate/nsupdate.c
lib/dns/dst_api.c
lib/dns/dst_internal.h
lib/dns/gssapi_link.c
lib/dns/gssapictx.c
lib/dns/include/dns/tkey.h
lib/dns/include/dst/dst.h
lib/dns/include/dst/gssapi.h
lib/dns/tkey.c