diff --git a/lib/dns/zone.c b/lib/dns/zone.c index ddee2f2dfa..e6f48864e8 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -79,6 +79,8 @@ #include +#include "zone_p.h" + #define ZONE_MAGIC ISC_MAGIC('Z', 'O', 'N', 'E') #define DNS_ZONE_VALID(zone) ISC_MAGIC_VALID(zone, ZONE_MAGIC) diff --git a/lib/dns/zone_p.h b/lib/dns/zone_p.h new file mode 100644 index 0000000000..24329b0e49 --- /dev/null +++ b/lib/dns/zone_p.h @@ -0,0 +1,26 @@ +/* + * Copyright (C) Internet Systems Consortium, Inc. ("ISC") + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * See the COPYRIGHT file distributed with this work for additional + * information regarding copyright ownership. + */ + +#ifndef DNS_ZONE_P_H +#define DNS_ZONE_P_H + +/*! \file */ + +/*% + * Types and functions below not be used outside this module and its + * associated unit tests. + */ + +ISC_LANG_BEGINDECLS + +ISC_LANG_ENDDECLS + +#endif /* DNS_ZONE_P_H */ diff --git a/util/copyrights b/util/copyrights index 938733a058..2779a8070a 100644 --- a/util/copyrights +++ b/util/copyrights @@ -3410,6 +3410,7 @@ ./lib/dns/win32/version.c C 1998,1999,2000,2001,2004,2007,2013,2016,2018 ./lib/dns/xfrin.c C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2011,2012,2013,2014,2015,2016,2017,2018 ./lib/dns/zone.c C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018 +./lib/dns/zone_p.h C 2018 ./lib/dns/zonekey.c C 2001,2003,2004,2005,2007,2016,2018 ./lib/dns/zt.c C 1999,2000,2001,2002,2004,2005,2006,2007,2011,2012,2013,2014,2015,2016,2017,2018 ./lib/irs/Atffile X 2016,2018