mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
Add lib/dns/zone_p.h
Add a new private header file, lib/dns/zone_p.h, which will hold type definitions and function prototypes not meant to be exported by libdns, but required by zone-related unit tests.
This commit is contained in:
@@ -79,6 +79,8 @@
|
||||
|
||||
#include <dst/dst.h>
|
||||
|
||||
#include "zone_p.h"
|
||||
|
||||
#define ZONE_MAGIC ISC_MAGIC('Z', 'O', 'N', 'E')
|
||||
#define DNS_ZONE_VALID(zone) ISC_MAGIC_VALID(zone, ZONE_MAGIC)
|
||||
|
||||
|
26
lib/dns/zone_p.h
Normal file
26
lib/dns/zone_p.h
Normal file
@@ -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 */
|
Reference in New Issue
Block a user